]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix compile break on Darwin 1.4
authorBill Stoddard <stoddard@apache.org>
Thu, 4 Oct 2001 17:07:44 +0000 (17:07 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 4 Oct 2001 17:07:44 +0000 (17:07 +0000)
Submitted by: Sander Temme

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

src/Configure

index 6d9375257d7698d8153f651b39003e0bfafb3424..d5678d68f9473ce891633c51ad45ede3ff80d27d 100755 (executable)
@@ -1149,7 +1149,14 @@ if [ "x$using_shlib" = "x1" ] ; then
        *-apple-rhapsody* | *-apple-darwin* )
            LD_SHLIB="cc"
            CFLAGS_SHLIB=""
-           LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
+           case "$PLAT" in
+               *-apple-darwin1.4 )
+                   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
+                   ;;
+               * )
+                   LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
+                   ;;
+           esac
            LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
            LDFLAGS_SHLIB_EXPORT=""
            SHLIB_SUFFIX_DEPTH=0