mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 04:49:01 +08:00
Detect POSIX semaphores in librt on Solaris (ticket #3).
Patch by Denis Ivanov.
This commit is contained in:
parent
1a664a80a9
commit
b4d9ee220c
13
auto/unix
13
auto/unix
@ -620,6 +620,19 @@ if [ $ngx_found = no ]; then
|
||||
fi
|
||||
|
||||
|
||||
if [ $ngx_found = no ]; then
|
||||
|
||||
# Solaris has POSIX semaphores in librt
|
||||
ngx_feature="POSIX semaphores in librt"
|
||||
ngx_feature_libs=-lrt
|
||||
. auto/feature
|
||||
|
||||
if [ $ngx_found = yes ]; then
|
||||
CORE_LIBS="$CORE_LIBS -lrt"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
ngx_feature="struct msghdr.msg_control"
|
||||
ngx_feature_name="NGX_HAVE_MSGHDR_MSG_CONTROL"
|
||||
ngx_feature_run=no
|
||||
|
Loading…
Reference in New Issue
Block a user