httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: cvs commit: apache-1.3/src Configure
Date Mon, 26 Nov 2001 17:22:04 GMT
On Mon, Nov 26, 2001 at 09:12:05AM -0800, Ian Holsman wrote:
> Is it possible to do this for 2.0 as well?

> On Mon, 2001-11-26 at 00:07, wsanchez@apache.org wrote:
[snip]
> >   -		*-apple-darwin1.4 )
> >   -		    LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'
> >   +		*-apple-rhapsody* | *-apple-darwin1.[0-3]* )
> >   +		    LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
> >    		    ;;
> >    		* )
> >   -		    LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress'
> >   +		    LDFLAGS_SHLIB='$(EXTRA_LDFLAGS) -bundle -undefined suppress -flat_namespace'

I was going to suggest something like the following, but AIUI we'll
have to also come up with a way to get libtool _not_ to include the
-flat_namespace param that it's implicitly passing to the compiler/linker.

-aaron


Index: configure.in
===================================================================
RCS file: /home/cvs/httpd-2.0/configure.in,v
retrieving revision 1.186
diff -u -u -r1.186 configure.in
--- configure.in	2001/11/22 20:29:11	1.186
+++ configure.in	2001/11/26 17:01:01
@@ -290,6 +290,10 @@
     *os390)
       HTTPD_LDFLAGS="$HTTPD_LDFLAGS --main=$abs_srcdir/server/main.o --core-dll=$abs_srcdir/apachecore.dll"
       SH_LDFLAGS="$SH_LDFLAGS --core-dll=$abs_srcdir/apachecore.dll"
+      ;;
+    *-apple-rhapsody* | *-apple-darwin1.[0-3]* )
+      SH_LDFLAGS="$SH_LDFLAGS -Wl,-bundle -Wl,-undefined\ suppress"
+      ;;
   esac
   shared_build="shared-build"
 fi

Mime
View raw message