]> granicus.if.org Git - pdns/commitdiff
Use libsodium's CFLAGS, we might need them to find the includes
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 26 Oct 2017 10:10:15 +0000 (12:10 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 26 Oct 2017 10:10:15 +0000 (12:10 +0200)
pdns/Makefile.am
pdns/dnsdistdist/Makefile.am
pdns/recursordist/Makefile.am

index e0140eb5c4957490ff94d9c88c9a4d83622e57b4..cfba818f913472a2b9a1b71a7d46cc352eb93550 100644 (file)
@@ -39,6 +39,10 @@ if GSS_TSIG
 AM_CPPFLAGS +=$(GSS_CFLAGS)
 endif
 
+if LIBSODIUM
+AM_CPPFLAGS +=$(LIBSODIUM_CFLAGS)
+endif
+
 EXTRA_DIST = \
        dnslabeltext.rl \
        dnslabeltext.cc \
index b983e70adca44c2de56f640182822f8d9cb0291d..ce49afb0339ae0748713e33258d5a4844b155bdd 100644 (file)
@@ -1,4 +1,4 @@
-AM_CPPFLAGS += $(SYSTEMD_CFLAGS) $(LUA_CFLAGS) $(LIBEDIT_CFLAGS) $(YAHTTP_CFLAGS) $(SANITIZER_FLAGS) $(NET_SNMP_CFLAGS) -DSYSCONFDIR=\"${sysconfdir}\"
+AM_CPPFLAGS += $(SYSTEMD_CFLAGS) $(LUA_CFLAGS) $(LIBEDIT_CFLAGS) $(LIBSODIUM_CFLAGS) $(YAHTTP_CFLAGS) $(SANITIZER_FLAGS) $(NET_SNMP_CFLAGS) -DSYSCONFDIR=\"${sysconfdir}\"
 
 ACLOCAL_AMFLAGS = -I m4
 
index a3ab6121fd390c836eafbbbe945ae49302e7f332..582cad65864e1c98c410b875135c2abef60d54b5 100644 (file)
@@ -1,6 +1,6 @@
 JSON11_LIBS = $(top_srcdir)/ext/json11/libjson11.la
 
-AM_CPPFLAGS = $(LUA_CFLAGS) $(YAHTTP_CFLAGS) $(BOOST_CPPFLAGS) $(BOTAN110_CFLAGS) $(NET_SNMP_CFLAGS) $(SANITIZER_FLAGS) -O3 -Wall -pthread -DSYSCONFDIR=\"${sysconfdir}\" $(SYSTEMD_CFLAGS)
+AM_CPPFLAGS = $(LUA_CFLAGS) $(YAHTTP_CFLAGS) $(BOOST_CPPFLAGS) $(BOTAN110_CFLAGS) $(LIBSODIUM_CFLAGS) $(NET_SNMP_CFLAGS) $(SANITIZER_FLAGS) -O3 -Wall -pthread -DSYSCONFDIR=\"${sysconfdir}\" $(SYSTEMD_CFLAGS)
 
 AM_CPPFLAGS += \
        -I$(top_srcdir)/ext/json11 \