aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2016-05-18 14:44:19 +0200
committerMartin Willi <martin@strongswan.org>2016-05-18 14:46:20 +0200
commit989db1bf2f8d3a81e1bcaee6ba7a455cc6fce74b (patch)
tree63352ba5f3e8033fb76d8daa97224ac17b889eeb
parent310b583925ab12c91976eec9813252b190f319be (diff)
downloadstrongswan-989db1bf2f8d3a81e1bcaee6ba7a455cc6fce74b.tar.bz2
strongswan-989db1bf2f8d3a81e1bcaee6ba7a455cc6fce74b.tar.xz
configure: Check for a potential -lpthread by using -ldl
Some pthread library variants depend on libdl, hence we must pass such a library to successfully build against libpthread.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6874832e1..daabdd782 100644
--- a/configure.ac
+++ b/configure.ac
@@ -486,7 +486,7 @@ AC_SEARCH_LIBS(socket, socket, [SOCKLIB=$LIBS],
AC_SUBST(SOCKLIB)
# Android has pthread_* functions in bionic (libc), others need libpthread
-LIBS=""
+LIBS=$DLLIB
AC_SEARCH_LIBS(pthread_create, pthread, [PTHREADLIB=$LIBS])
AC_SUBST(PTHREADLIB)