On Tue, Feb 04, 2003 at 12:23:04AM +0900, Peter O'Gorman wrote: > > On Tuesday, February 4, 2003, at 12:01 AM, Benjamin Reed wrote: > >> > >>cc -multiply_defined suppress -prebind blah || cc -flat_namespace > >>-undefined suppress blah > > > >1. libkdeui's LIBADD is "-lkdecore" > >2. the first half of the link complains that -lqt-mt is indirectly > >referenced > >3. it builds the library flat, and continues on > > > >when what *should* happen is it dies at #2, and we add -lqt-mt to > >libkdeui's LIBADD like it should be. > > Why? An option to stop if two_level namespace can't be built, I can see > as a good thing for people porting stuff to darwin, however some stuff > is quite happy being flat, even if it only missing the usual environ > symbol, and imo, libtool shouldn't die by default. > > The default should be to continue if possible unless told otherwise, > the fewer people who have to add custom flags and options the better.
On AIX, libtool does something special if LDFLAGS has "-brtl" in it. Can something be done similarly for OSX to support the two-level namespace (by inspecting CPPFLAGS or CFLAGS or some other variable at ./configure time)? Or do you need a libtool option to do what you want? -- albert chin ([EMAIL PROTECTED]) ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel