﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
3	POSIX Semaphores can be used at Solaris	dsdiv.moikrug.ru	somebody	"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
}}}"	enhancement	accepted	minor		nginx-core	1.0.x		Solaris		SunOS unknown 5.10 Generic_142910-17 i86pc i386 i86pc	
