1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tools: compile conf2json only of libconfig is available

This commit is contained in:
Steffen Vogel 2017-08-23 14:29:46 +02:00
parent c042dd4a0b
commit d5a3737596

View file

@ -20,9 +20,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
###################################################################################
ifeq ($(WITH_JSON),1)
ifeq ($(WITH_CONFIG),1)
ifeq ($(shell $(PKGCONFIG) libconfig; echo $$?),0)
TOOLS += $(BUILDDIR)/conf2json
endif
endif
TOOLS_CFLAGS = $(CFLAGS)
TOOLS_LDLIBS = -lconfig -ljansson -lvillas