mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
Configure: fixed Linux crypt_r() test to add libcrypt.
Previously, the resulting binary was successfully linked because libcrypt was added in a separate test for crypt(). Patch by Piotr Sikora.
This commit is contained in:
parent
eff2ea1d69
commit
818f98da1c
@ -228,6 +228,10 @@ ngx_feature_test="struct crypt_data cd;
|
|||||||
crypt_r(\"key\", \"salt\", &cd);"
|
crypt_r(\"key\", \"salt\", &cd);"
|
||||||
. auto/feature
|
. auto/feature
|
||||||
|
|
||||||
|
if [ $ngx_found = yes ]; then
|
||||||
|
CRYPT_LIB="-lcrypt"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
ngx_include="sys/vfs.h"; . auto/include
|
ngx_include="sys/vfs.h"; . auto/include
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user