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

Re: Development packages.



Andreas Metzler <ametzler@logic.univie.ac.at> writes:

> On Mon, Mar 22, 2004 at 04:26:49PM +0100, Frank Küster wrote:

[libtool brokenness]
>> Yes, it did :-|. Could you point me to a documentation where I could
>> read about these problems, and under what weird circumstances it will be
>> a bug nevertheless if I don't install the *la files? 
> [...]
>
> Hello,
> Basically the essence of the mess is #191425. If libfoo links against
> libbar and application blah makes use of libfoo (but does not use
> libbar) libtool will link the application against both libraries.

How is this different to pkg-config:

$ pkg-config --libs libglademm-2.0
-Wl,--export-dynamic -lglademm-2.0 -lgtkmm-2.0 -lglade-2.0 -lgdkmm-2.0
 -latkmm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgtk-x11-2.0
 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
 -ldl -lglib-2.0

Whew!  Yet in reality, -lglademm-2.0 would have sufficed...


-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.



Reply to: