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 kbackgammon.la $(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.




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

Reply via email to