summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 16:39:36 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 16:39:51 +0100
commit8f9432cc75be69b8441c3c2bc278f547788501d9 (patch)
treeacbbbd4724373af5a19de7daaba01c8c2b985085
parent963ae4a65c45f655fb5f77ae843c49568a9331b2 (diff)
downloadgnutls-8f9432cc75be69b8441c3c2bc278f547788501d9.tar.gz
link with libdl when trousers is enabled; reported by Andreas Schneider
-rw-r--r--lib/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index cec0a22fcd..873a569728 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -159,6 +159,10 @@ if ENABLE_FIPS140
thirdparty_libadd += $(FIPS140_LIBS)
endif
+if ENABLE_TROUSERS
+thirdparty_libadd += $(LIBDL)
+endif
+
if ENABLE_OPENPGP
libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la
libgnutls_la_LIBADD += opencdk/libminiopencdk.la