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.
This commit is contained in:
Martin Willi 2015-11-09 17:15:17 +01:00
parent 2b39da2634
commit 41106e7993
1 changed files with 4 additions and 1 deletions

View File

@ -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 = \