[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)

From: F J Franklin
Subject: (no subject)
Date: 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

Curious, Frank

Francis James Franklin

  `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
Radium, Sapphire, Silver and Steel.
  `Sapphire and Steel have been assigned...'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]