diff options
Diffstat (limited to 'auto/lib/openssl/conf')
-rw-r--r-- | auto/lib/openssl/conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index 0a70f3321..6792e7fd2 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -13,9 +13,15 @@ if [ $OPENSSL != NONE ]; then LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" ;; + esac + case "$NGX_SYSTEM" in + SunOS|Linux) + CORE_LIBS="$CORE_LIBS -ldl" + ;; esac + else if [ $NGX_PLATFORM != win32 ]; then |