> > Christoph Egger wrote: > > | Hi! > > | > > | > > | Say you have the following Makefile.am: > > | > > | ------------------------------------------------------------------- > > | lib_LTLIBRARIS = foo.la > > | > > | foo_la_SOURCES = foo1.c foo2.c > > | foo_la_LDFLAGS = -Xlinker -framework -Xlinker ApplicationServices \ > > | -Xlinker -framework -Xlinker Carbon > > | ------------------------------------------------------------------- > > | > > | This generates a convinience libtool library. > > | > > | The wrong thing here is the 'inherited_linker_flags' variable > > | in the file foo.la just holds a blank rather > > | -Xlinker -framework -Xlinker ApplicationServices -Xlinker -framework > > | -Xlinker Carbon > > | > > | Impacted are all Darwin versions. > > > > What happens if you remove the "-Xlinker"s ? > > Hey, then 'inherited_linker_flags' contains > -framework ApplicationServices -framework Carbon > > which is right.
But there is something going wrong later, when I link a program against libfoo.la While inherited_linker_flags contains the right values, libtool malforms them. The linker then see's this: Carbon ApplicationServices -framework The linker (of course) says then: Carbon: No such file or directory ApplicationServices: No such file or directory [Other errors] > > > I will be away for two weeks starting in about 9 hours, so I may > > not get > > back to you on this for a little while, sorry. > > Well, have a nice time. > -- Greetings, Christoph 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ _______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
