diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | lib/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2f186090bd..bf1d3911ce 100644 --- a/configure.ac +++ b/configure.ac @@ -123,6 +123,8 @@ AC_CHECK_FUNCS(fork,,) AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no") AC_CHECK_FUNCS(getrusage,,) AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);]) +dnl for pakchois +AC_LIB_HAVE_LINKFLAGS(dl,, [#include <dlfcn.h>], [dlclose (0);]) dnl Check for libcfg+ SAVED_LIBS=$LIBS diff --git a/lib/Makefile.am b/lib/Makefile.am index cf9bf8ca69..35d1d95f8b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -121,7 +121,7 @@ libgnutls_la_LDFLAGS = -no-undefined \ libgnutls_la_LIBADD = ../gl/libgnu.la x509/libgnutls_x509.la \ accelerated/libaccelerated.la \ - $(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) + $(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) $(LTLIBDL) if ENABLE_OPENPGP libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la |