mirror of
https://github.com/nginx/nginx.git
synced 2026-11-02 20:30:47 -06:00
Configure: fixed static compilation with OpenSSL 1.1.1.
OpenSSL now uses pthread_atfork(), and this requires -lpthread on Linux to compile. Introduced NGX_LIBPTHREAD to add it as appropriate, similar to existing NGX_LIBDL.
This commit is contained in:
1 parent
25a26bbce4
commit
90ca1071b7
3 files changed
+16
-7
No files matched your search
@@ -17,4 +17,5 @@ END
|
||||
CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS"
|
||||
CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS"
|
||||
CORE_LIBS="$CORE_LIBS -lpthread"
|
||||
NGX_LIBPTHREAD="-lpthread"
|
||||
fi
|
||||
Reference in new issue
Block a user