Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/threads9
1 files changed, 9 insertions, 0 deletions
diff --git a/auto/threads b/auto/threads
index 8f7e10bfc..301dacfe0 100644
--- a/auto/threads
+++ b/auto/threads
@@ -30,6 +30,15 @@ case $USE_THREADS in
CORE_LIBS="$CORE_LIBS -pthread"
;;
+ linuxthreads)
+ have=NGX_THREADS . auto/have
+ have=NGX_LINUXTHREADS . auto/have
+ CFLAGS="$CFLAGS -D_THREAD_SAFE"
+ CFLAGS="$CFLAGS -I /usr/local/include/pthread/linuxthreads"
+ CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"
+ CORE_LIBS="$CORE_LIBS -L /usr/local/lib -llthread -llgcc_r"
+ ;;
+
lc_r)
have=NGX_THREADS . auto/have
CORE_SRCS="$CORE_SRCS $PTHREAD_SRCS"