]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Set preprocessor flag, not compiler
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Oct 2014 10:59:09 +0000 (12:59 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 6 Oct 2014 10:07:11 +0000 (12:07 +0200)
modules/remotebackend/Makefile.am

index f323e6009975c7e43961e2f8c89ac085a066203a..1e63ef70e2cbc1dfe6c5239a5af1c10bf707eb02 100644 (file)
@@ -42,10 +42,10 @@ libtestremotebackend_la_LIBADD=-L../../pdns/ext/yahttp/yahttp -lyahttp
 
 if PKCS11
 libtestremotebackend_la_SOURCES += ../../pdns/pkcs11signers.hh ../../pdns/pkcs11signers.cc
-libtestremotebackend_la_LIBADD+=$(P11KIT1_LIBS)
+libtestremotebackend_la_LIBADD += $(P11KIT1_LIBS)
+libtestremotebackend_la_CPPFLAGS = $(P11KIT1_CFLAGS) $(AM_CPPFLAGS)
 endif
 
-libtestremotebackend_la_CXXFLAGS=$(P11KIT1_CFLAGS)
 
 test_remotebackend_pipe_SOURCES=test-remotebackend.cc test-remotebackend-pipe.cc test-remotebackend-keys.hh 
 test_remotebackend_unix_SOURCES=test-remotebackend.cc test-remotebackend-unix.cc test-remotebackend-keys.hh