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, [EMAIL PROTECTED] 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

Reply via email to