tech-pkg archive

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

Re: libtool + static library



On Tue, Nov 27, 2018 at 02:10:14PM +0000, coypu%sdf.org@localhost wrote:
> (If you update automake to 1.16.1 and try to build wip/librsvg...)
> 
> *** Warning: Trying to link with static lib archive /current/pkgsrc/wip/librsvg/work/librsvg-2.44.9/target/release/librsvg_internals.a.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because the file extensions .a of this argument makes me believe
> *** that it is just a static archive that I should not use here.
> 
> 
> How do I convince libtool to do that anyway?

You don't. At most, build an internal library ("Convenience Library")
that gets folded into the actual library and/or binaries.

Joerg


Home | Main Index | Thread Index | Old Index