[Top][All Lists]

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

Re: libtool "module" behavior and darwin

From: Guido Draheim
Subject: Re: libtool "module" behavior and darwin
Date: Sun, 24 Nov 2002 23:17:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Benjamin Reed wrote:
On Sunday, November 24, 2002, at 04:54 PM, Guido Draheim wrote:

The only hint that I can give has the form of a question: Did you try
kbackgammon_LDADD = -static $(LIB_KDEGAMES) $(LIB_KSYCOCA)
 kbackgammon_SOURCES = dummy.cpp

$ ./libtool --help --mode=link | grep static
  -all-static       do not do any dynamic linking at all
  -static           do not do any dynamic linking of libtool libraries

I'm sure this would work, I was hoping there would be a decently easy way to have libtool include *only* the .a's that have bundle counterparts, so that shared libraries we link against still get linked shared...

ie, so it ends up doing "g++ -o foo.dylib /path/to/bundular-library.a -lkdecore -lqt" and so on...

That's actually the difference between "-all-static" and "-static" IIRC.
The "-static" should only link its .la's as static, and non-la's dynamic.
But perhaps I am mistaken too, that's why I did ask if you did try somewhen.

reply via email to

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