aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto/os/linux4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/os/linux b/auto/os/linux
index 02dcaf290..bc0556b3a 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -228,6 +228,10 @@ ngx_feature_test="struct crypt_data cd;
crypt_r(\"key\", \"salt\", &cd);"
. auto/feature
+if [ $ngx_found = yes ]; then
+ CRYPT_LIB="-lcrypt"
+fi
+
ngx_include="sys/vfs.h"; . auto/include