]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Always link libtestremotebackend with -ld 1821/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 14 Oct 2014 18:12:24 +0000 (20:12 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 14 Oct 2014 18:12:24 +0000 (20:12 +0200)
Not only when PKCS11 is enabled

modules/remotebackend/Makefile.am

index fe1b08636b6237a971a2a573ef465b972d5a0897..a519f12cf287abf898d3f92633d324dc72764ca6 100644 (file)
@@ -109,7 +109,8 @@ libtestremotebackend_la_LIBADD = \
        $(POLARSSL_LIBS) \
        $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \
        $(BOOST_SERIALIZATION_LIBS) \
-       $(BOOST_PROGRAM_OPTIONS_LIBS)
+       $(BOOST_PROGRAM_OPTIONS_LIBS) \
+       $(LIBDL)
 
 libtestremotebackend_la_LDFLAGS = \
        $(AM_LDFLAGS) \
@@ -125,8 +126,7 @@ libtestremotebackend_la_SOURCES += \
        ../../pdns/pkcs11signers.cc
 
 libtestremotebackend_la_LIBADD += \
-       $(P11KIT1_LIBS) \
-       $(LIBDL)
+       $(P11KIT1_LIBS)
 
 libtestremotebackend_la_CPPFLAGS += \
        $(P11KIT1_CFLAGS)