]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add -lpthread for Solaris since we reference pthread functions.
authorJeff Trawick <trawick@apache.org>
Fri, 1 Feb 2002 02:27:04 +0000 (02:27 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 1 Feb 2002 02:27:04 +0000 (02:27 +0000)
Previously we were picking up bogus pthread functions in libc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93146 13f79535-47bb-0310-9956-ffa450edef68

src/CHANGES
src/Configure

index bbbcd2975156c9d04d1d25a3f2578dbb7ca8b8e1..c337098c0e5ad73ac01cffbb7965190d5d8457c5 100644 (file)
@@ -1,5 +1,13 @@
 Changes with Apache 1.3.24
 
+  *) Link with -lpthread on Solaris since we reference pthread
+     functions for the accept mutex.  Previously, the link step
+     would succeed but we would link to bogus versions of the
+     pthread functions in libc, apparently breaking accept mutex 
+     serialization when "AcceptMutex pthread" was used and 
+     apparently breaking some third-party modules whether
+     or not "AcceptMutex pthread" was used.  [Jeff Trawick]
+
   *) The Location: response header field, used for external
      redirect, *must* be an absoluteURI.  The Redirect directive
      tested for that, but RedirectMatch didn't -- it would allow
index a01945dc210f019a81c7f2c4f59e38b8e8fb5a6e..8d7bd8c55f787be4f166fbb14c2d619b200b42d0 100755 (executable)
@@ -586,7 +586,7 @@ case "$PLAT" in
        PLATOSVERS=`echo $PLAT | sed 's/^.*solaris2.//'`
        OS="Solaris $PLATOSVERS"
        CFLAGS="$CFLAGS -DSOLARIS2=$PLATOSVERS"
-       LIBS="$LIBS -lsocket -lnsl"
+       LIBS="$LIBS -lsocket -lnsl -lpthread"
        DBM_LIB=""
        case "$PLATOSVERS" in
            2[01234]*)