summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 508ae4494d..7104d0dd57 100644
--- a/configure.in
+++ b/configure.in
@@ -242,7 +242,7 @@ AC_CHECK_LIB(nsl, gethostname, [
fi
-AC_CHECK_LIB(dl, dlopen,[PHP_ADD_LIBRARY(dl)])
+AC_CHECK_LIB(dl, dlopen,[LIBS="-ldl $LIBS"])
dnl The sin may be in a library which need not be specifed
dnl as well as res_search resides in libsocket