]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Make sure libremotebackend picks up correct flags
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 14 Oct 2014 18:06:14 +0000 (20:06 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 14 Oct 2014 18:06:14 +0000 (20:06 +0200)
This fixes the build if we build with --disable-experimental-pkcs11

modules/remotebackend/Makefile.am

index c48e49957abfb7284b18bc9045ec11500798c2bc..fe1b08636b6237a971a2a573ef465b972d5a0897 100644 (file)
@@ -102,6 +102,8 @@ libtestremotebackend_la_SOURCES = \
        zmqconnector.cc \
        remotebackend.hh remotebackend.cc
 
+libtestremotebackend_la_CPPFLAGS = $(AM_CPPFLAGS)
+
 libtestremotebackend_la_LIBADD = \
        $(YAHTTP_LIBS) \
        $(POLARSSL_LIBS) \
@@ -126,9 +128,8 @@ libtestremotebackend_la_LIBADD += \
        $(P11KIT1_LIBS) \
        $(LIBDL)
 
-libtestremotebackend_la_CPPFLAGS = \
-       $(P11KIT1_CFLAGS) \
-       $(AM_CPPFLAGS)
+libtestremotebackend_la_CPPFLAGS += \
+       $(P11KIT1_CFLAGS)
 endif
 
 test_remotebackend_http_SOURCES = \