[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool on darwin #2
From: |
Christoph Egger |
Subject: |
Re: libtool on darwin #2 |
Date: |
Tue, 22 Oct 2002 21:28:55 +0200 (MEST) |
> > 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
hey - That works!
Thanks very much!
--
CU,
Christoph Egger
E-Mail: address@hidden
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
- (no subject), F J Franklin, 2002/10/22
- Re: libtool on darwin #2,
Christoph Egger <=