mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
test whether libdl is required for dynamic linking:
Solaris 10 has dlopen()/etc. in libc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user