#3 closed enhancement (fixed)
POSIX Semaphores can be used at Solaris
Reported by: | dsdiv.moikrug.ru | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-core | Version: | 1.0.x |
Keywords: | Solaris | Cc: | |
uname -a: | SunOS unknown 5.10 Generic_142910-17 i86pc i386 i86pc | ||
nginx -V: |
Description (last modified by )
Here is Nginx 1.0.5 patch:
--- auto/unix.orig Fri Aug 5 18:17:24 2011 +++ auto/unix Fri Aug 5 18:19:38 2011 @@ -620,6 +620,19 @@ 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
Change History (3)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Status: | new → accepted |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Committed as r4004, thanks!
Note:
See TracTickets
for help on using tickets.
Thank you, patch looks ok and passes tests here.