Skip to content

Commit 5abd150

Browse files
committed
Let pkg-config determine botan dependency libs
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com> (cherry picked from commit 4adc8c71051a86d134439f94d300eac16051e158)
1 parent ba4d623 commit 5abd150

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pdns/Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ pdns_server_LDADD= $(POLARSSL_LIBS) $(BOOST_SERIALIZATION_LIBS) $(LUA_LIBS) $(SQ
7474

7575
if BOTAN110
7676
pdns_server_SOURCES += botan110signers.cc botansigners.cc
77-
pdns_server_LDADD += $(BOTAN110_LIBS) -lgmp -lrt
77+
pdns_server_LDADD += $(BOTAN110_LIBS)
7878
endif
7979

8080
if BOTAN18
8181
pdns_server_SOURCES += botan18signers.cc botansigners.cc
82-
pdns_server_LDADD += $(BOTAN18_LIBS) -lgmp
82+
pdns_server_LDADD += $(BOTAN18_LIBS)
8383
endif
8484

8585
if CRYPTOPP
@@ -161,12 +161,12 @@ endif
161161

162162
if BOTAN110
163163
pdnssec_SOURCES += botan110signers.cc botansigners.cc
164-
pdnssec_LDADD += $(BOTAN110_LIBS) -lgmp -lrt
164+
pdnssec_LDADD += $(BOTAN110_LIBS)
165165
endif
166166

167167
if BOTAN18
168168
pdnssec_SOURCES += botan18signers.cc botansigners.cc
169-
pdnssec_LDADD += $(BOTAN18_LIBS) -lgmp
169+
pdnssec_LDADD += $(BOTAN18_LIBS)
170170
endif
171171

172172
if CRYPTOPP

0 commit comments

Comments
 (0)