also build mint-lib if we only have libgnurl
This commit is contained in:
parent
911dac83cd
commit
3a3afcb119
@ -10,6 +10,10 @@ else
|
|||||||
SUBDIRS = include util $(PQ_DIR) mintdb mint mint-tools
|
SUBDIRS = include util $(PQ_DIR) mintdb mint mint-tools
|
||||||
if HAVE_LIBCURL
|
if HAVE_LIBCURL
|
||||||
SUBDIRS += mint-lib
|
SUBDIRS += mint-lib
|
||||||
|
else
|
||||||
|
if HAVE_LIBGNURL
|
||||||
|
SUBDIRS += mint-lib
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -27,7 +27,15 @@ libtalermint_la_SOURCES = \
|
|||||||
libtalermint_la_LIBADD = \
|
libtalermint_la_LIBADD = \
|
||||||
-lgnunetutil \
|
-lgnunetutil \
|
||||||
-ljansson \
|
-ljansson \
|
||||||
-lcurl $(XLIB)
|
$(XLIB)
|
||||||
|
|
||||||
|
if HAVE_LIBCURL
|
||||||
|
libtalermint_la_LIBADD += -lcurl
|
||||||
|
else
|
||||||
|
if HAVE_LIBGNURL
|
||||||
|
libtalermint_la_LIBADD += -lgnurl
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
check_PROGRAMS = \
|
check_PROGRAMS = \
|
||||||
test_mint_api
|
test_mint_api
|
||||||
|
Loading…
Reference in New Issue
Block a user