test whether libdl is required for dynamic linking:

Solaris 10 has dlopen()/etc. in libc
This commit is contained in:
Igor Sysoev
2009-05-08 09:39:53 +00:00
parent 225d47185a
commit f794318d60
2 changed files with 24 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ if [ $OPENSSL != NONE ]; then
case "$NGX_SYSTEM" in
SunOS|Linux)
CORE_LIBS="$CORE_LIBS -ldl"
CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
;;
esac
@@ -72,7 +72,7 @@ else
case "$NGX_SYSTEM" in
SunOS)
CORE_LIBS="$CORE_LIBS -ldl"
CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
;;
esac
fi