Welcome! Log In Create A New Profile

Advanced

[PATCH] Configure: link libcrypt when a feature using it is detected

Piotr Sikora via nginx-devel
February 27, 2024 08:26PM
# HG changeset patch
# User Piotr Sikora <piotr@aviatrix.com>
# Date 1708977638 0
# Mon Feb 26 20:00:38 2024 +0000
# Branch patch014
# Node ID 570e97dddeeddb79c71587aa8a10150b64404beb
# Parent cdc173477ea99fd6c952a85e5cd11db66452076a
Configure: link libcrypt when a feature using it is detected.

Previously, this worked only because libcrypt was added in a separate
test for crypt() in auto/unix.

Signed-off-by: Piotr Sikora <piotr@aviatrix.com>

diff -r cdc173477ea9 -r 570e97dddeed auto/os/linux
--- a/auto/os/linux Mon Feb 26 20:00:37 2024 +0000
+++ b/auto/os/linux Mon Feb 26 20:00:38 2024 +0000
@@ -228,6 +228,10 @@
crypt_r(\"key\", \"salt\", &cd);"
. auto/feature

+if [ $ngx_found = yes ]; then
+ CRYPT_LIB="-lcrypt"
+fi
+

ngx_include="sys/vfs.h"; . auto/include

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Configure: link libcrypt when a feature using it is detected

Piotr Sikora via nginx-devel 250 February 27, 2024 08:26PM

Re: [PATCH] Configure: link libcrypt when a feature using it is detected

Sergey Kandaurov 12 March 20, 2024 10:58AM

Re: [PATCH] Configure: link libcrypt when a feature using it is detected

Piotr Sikora via nginx-devel 15 March 21, 2024 03:24AM

Re: [PATCH] Configure: link libcrypt when a feature using it is detected

Sergey Kandaurov 28 March 27, 2024 01:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready