Elrond <[EMAIL PROTECTED]> writes:

>> > Well, it only needs these for static linkage; beyond that, it's a libtool
>> > bug that it attempts to link directly with shared library dependencies
>> > when doing a shared build.
>> 
>> Maybe it should be reported...
>
> It's a well known problem for minimum one year.
>
> I already ran around "rm /usr/lib/libfoo.la" to get some
> packages building...

The FreeBSD people appear to patch packages to not install *.la too,
which seems like a lot of work... I wonder what the correct upstream
fix would be.

>> > pkg-config provides a mechanism to get this right.
>> 
>> pkg-config doesn't handle cross-compiles and seem a bit fragile.
>
> There are people trying to fix that somewhat.
>
> I'll probably file an upstream bug for pkg.m4 running a
> test-link to see, that the detected CFLAGS/LIBS are
> working.
> That should aid in the cross-compile issue.

Yup, that seems like a good idea.

/Simon


_______________________________________________
Help-shishi mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-shishi

Reply via email to