summaryrefslogtreecommitdiff
path: root/src/hostlist/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/Makefile.am')
-rw-r--r--src/hostlist/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am
index 17f0bdfa0..a8621a2b0 100644
--- a/src/hostlist/Makefile.am
+++ b/src/hostlist/Makefile.am
@@ -13,7 +13,8 @@ endif
if HAVE_MHD
HOSTLIST_SERVER_SOURCES = \
gnunet-daemon-hostlist_server.c gnunet-daemon-hostlist_server.h
- GN_LIBMHD = -lmicrohttpd
+ GN_LIBMHD = $(MHD_LIBS)
+ GN_CPPMHD = $(MHD_CFLAGS)
endif
if HAVE_LIBGNURL
@@ -50,9 +51,10 @@ gnunet_daemon_hostlist_LDADD = \
$(LIB_GNURL) \
$(GN_LIBINTL)
-gnunet_daemon_hostlist_CPPFLAGS = \
- $(CPP_GNURL) \
- $(AM_CPPFLAGS)
+gnunet_daemon_hostlist_CFLAGS = \
+ $(GN_CPPMHD) \
+ $(CPP_GNURL) \
+ $(AM_CFLAGS)
if HAVE_LIBGNURL
check_PROGRAMS = \