diff options
Diffstat (limited to 'src/gns/Makefile.am')
-rw-r--r-- | src/gns/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am index f8d266748..61e52ee98 100644 --- a/src/gns/Makefile.am +++ b/src/gns/Makefile.am | |||
@@ -55,6 +55,14 @@ if HAVE_MHD | |||
55 | if HAVE_GNUTLS | 55 | if HAVE_GNUTLS |
56 | if HAVE_LIBGNURL | 56 | if HAVE_LIBGNURL |
57 | DO_PROXY=gnunet-gns-proxy | 57 | DO_PROXY=gnunet-gns-proxy |
58 | LIB_GNURL=@LIBGNURL@ | ||
59 | CPP_GNURL=@LIBGNURL_CPPFLAGS@ | ||
60 | else | ||
61 | if HAVE_LIBCURL | ||
62 | DO_PROXY=gnunet-gns-proxy | ||
63 | LIB_GNURL=@LIBCURL@ | ||
64 | CPP_GNURL=@LIBCURL_CPPFLAGS@ | ||
65 | endif | ||
58 | endif | 66 | endif |
59 | endif | 67 | endif |
60 | endif | 68 | endif |
@@ -141,8 +149,8 @@ gnunet_dns2gns_DEPENDENCIES = \ | |||
141 | 149 | ||
142 | gnunet_gns_proxy_SOURCES = \ | 150 | gnunet_gns_proxy_SOURCES = \ |
143 | gnunet-gns-proxy.c | 151 | gnunet-gns-proxy.c |
144 | gnunet_gns_proxy_CPPFLAGS = $(AM_CPPFLAGS) $(LIBGNURL_CPPFLAGS) | 152 | gnunet_gns_proxy_CPPFLAGS = $(AM_CPPFLAGS) $(CPP_GNURL) |
145 | gnunet_gns_proxy_LDADD = -lmicrohttpd $(LIBGNURL) -lgnutls \ | 153 | gnunet_gns_proxy_LDADD = -lmicrohttpd $(LIB_GNURL) -lgnutls \ |
146 | $(top_builddir)/src/gns/libgnunetgns.la \ | 154 | $(top_builddir)/src/gns/libgnunetgns.la \ |
147 | $(top_builddir)/src/identity/libgnunetidentity.la \ | 155 | $(top_builddir)/src/identity/libgnunetidentity.la \ |
148 | $(top_builddir)/src/util/libgnunetutil.la \ | 156 | $(top_builddir)/src/util/libgnunetutil.la \ |