diff options
author | Martin Willi <martin@strongswan.org> | 2015-11-09 17:15:17 +0100 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2015-12-04 08:02:03 +0100 |
commit | 41106e7993cc699ba7d9dc5884d40a4c5091b8c4 (patch) | |
tree | 680d90bdbbcaf8ffaaf08cfbe28bd1411d7445a8 /src | |
parent | 2b39da2634b2b6659f1c73c6477930767c4f38f1 (diff) | |
download | strongswan-41106e7993cc699ba7d9dc5884d40a4c5091b8c4.tar.bz2 strongswan-41106e7993cc699ba7d9dc5884d40a4c5091b8c4.tar.xz |
pki: Explicitly link against -lpthread and -ldl if required
We already do this for charon, as some toolchains require an explicit
link even if libstrongswan already depends on it.
Diffstat (limited to 'src')
-rw-r--r-- | src/pki/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pki/Makefile.am b/src/pki/Makefile.am index a3da0ab04..261e41c16 100644 --- a/src/pki/Makefile.am +++ b/src/pki/Makefile.am @@ -17,7 +17,10 @@ pki_SOURCES = pki.c pki.h command.c command.h \ commands/signcrl.c \ commands/verify.c -pki_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la +pki_LDADD = \ + $(top_builddir)/src/libstrongswan/libstrongswan.la \ + $(PTHREADLIB) $(DLLIB) + pki.o : $(top_builddir)/config.status AM_CPPFLAGS = \ |