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/unix | |
| 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 '')
| -rw-r--r-- | auto/unix | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -901,6 +901,7 @@ if [ $ngx_found = no ]; then if [ $ngx_found = yes ]; then CORE_LIBS="$CORE_LIBS -lpthread" + NGX_LIBPTHREAD="-lpthread" fi fi |
