> > From: Christoph Egger <[EMAIL PROTECTED]>
> > 
> > Short bug description: I can't link against a framework, because libtool
> > throughs the needed -framework param away.
> 
> I hit this problem once and created a patch for it, but it's non-trivial.
> Even if libtool recognizes it as a LDFLAG, libtool does this deplibs
> reversal to sort order or dependent libs and you start getting things like
> 
> gcc -o this.dylib ... Cocoa -framework ...
> 
> but it is possible. 
> 
> But is there a better solution maybe? CVS libtool (not sure about 1.4) has
> a handy -Xlinker escape for linker flags. Maybe try:
> 
> libThis_la_LDFLAGS = -Xlinker -framework -Xlinker Cocoa

hey - That works!

Thanks very much!

-- 
CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to