aboutsummaryrefslogtreecommitdiff
path: root/auto/lib
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib')
-rw-r--r--auto/lib/openssl/conf6
-rw-r--r--auto/lib/pcre/conf2
2 files changed, 7 insertions, 1 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
index c8c47e2b9..0370fe084 100644
--- a/auto/lib/openssl/conf
+++ b/auto/lib/openssl/conf
@@ -36,6 +36,12 @@ else
if [ $ngx_found = yes ]; then
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
OPENSSL=YES
+
+ case "$NGX_SYSTEM" in
+ SunOS)
+ CORE_LIBS="$CORE_LIBS -ldl"
+ ;;
+ esac
fi
fi
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index 1b79f94ec..946b26e32 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -17,7 +17,7 @@ if [ $PCRE != NONE ]; then
CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib"
;;
- icc*)
+ icc* | sunc )
have=NGX_PCRE . auto/have
CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"