diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-22 15:55:57 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2018-03-22 15:55:57 +0300 |
| commit | 90ca1071b77b0fbb4373ae052b1242023295513f (patch) | |
| tree | b34c187ec84d099e420a965439a5dae0897b6ea3 /auto/threads | |
| parent | 25a26bbce432eac7bd2c9f351d3e502d41fd4b4f (diff) | |
| download | nginx-90ca1071b77b0fbb4373ae052b1242023295513f.tar.gz nginx-90ca1071b77b0fbb4373ae052b1242023295513f.tar.bz2 | |
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.
Diffstat (limited to 'auto/threads')
| -rw-r--r-- | auto/threads | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/threads b/auto/threads index 381f07ac3..943127f63 100644 --- a/auto/threads +++ b/auto/threads @@ -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 |
