[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
F J Franklin
Tue, 22 Oct 2002 17:16:46 +0100 (BST)
> From: Christoph Egger <address@hidden>
> 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
Francis James Franklin
`Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
Radium, Sapphire, Silver and Steel.
`Sapphire and Steel have been assigned...'
- (no subject),
F J Franklin <=