Mercurial > hg > nginx
comparison auto/unix @ 7246:04ebf29eaf5b
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 22 Mar 2018 15:55:57 +0300 |
parents | 81fae70d6cb8 |
children | efd71d49bde0 |
comparison
equal
deleted
inserted
replaced
7245:3f1c5ff0d7fb | 7246:04ebf29eaf5b |
---|---|
899 ngx_feature_libs=-lpthread | 899 ngx_feature_libs=-lpthread |
900 . auto/feature | 900 . auto/feature |
901 | 901 |
902 if [ $ngx_found = yes ]; then | 902 if [ $ngx_found = yes ]; then |
903 CORE_LIBS="$CORE_LIBS -lpthread" | 903 CORE_LIBS="$CORE_LIBS -lpthread" |
904 NGX_LIBPTHREAD="-lpthread" | |
904 fi | 905 fi |
905 fi | 906 fi |
906 | 907 |
907 | 908 |
908 if [ $ngx_found = no ]; then | 909 if [ $ngx_found = no ]; then |