Valentin Bartenev | 27e49d7 | 2015-03-14 17:37:07 +0300 | [diff] [blame] | 1 | |
| 2 | # Copyright (C) Nginx, Inc. |
| 3 | |
| 4 | |
| 5 | if [ $USE_THREADS = YES ]; then |
| 6 | |
| 7 | if [ "$NGX_PLATFORM" = win32 ]; then |
| 8 | cat << END |
| 9 | |
| 10 | $0: --with-threads is not supported on Windows |
| 11 | |
| 12 | END |
| 13 | exit 1 |
| 14 | fi |
| 15 | |
| 16 | have=NGX_THREADS . auto/have |
| 17 | CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS" |
| 18 | CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS" |
| 19 | CORE_LIBS="$CORE_LIBS -lpthread" |
Maxim Dounin | dad2f66 | 2018-03-22 15:55:57 +0300 | [diff] [blame] | 20 | NGX_LIBPTHREAD="-lpthread" |
Valentin Bartenev | 27e49d7 | 2015-03-14 17:37:07 +0300 | [diff] [blame] | 21 | fi |