[strongSwan-dev] [PATCH] Don't indirectly link dependent libraries

Gerd v. Egidy lists at egidy.de
Sun Mar 14 22:12:48 CET 2010


Hi,

while packaging strongSwan for Fedora I came across a build problem on Fedora 
13.

The default behaviour for ld allows users to 'indirectly' link to required
objects/libraries through intermediate objects/libraries. While this is
convenient, it can also be dangerous because it makes your program's
dependencies tied to the dependencies of other objects.

Beginning with Fedora 13 this will be changed and you need to explicitly
link all dependent libraries.

More details can be found here:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

The attached patch fixes all such cases in strongSwan.

It would be nice if you could apply this patch to strongSwan upstream.

Kind regards,

Gerd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-indirectly-link-dependent-libraries.patch
Type: text/x-patch
Size: 2733 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100314/4d078f8f/attachment.bin>


More information about the Dev mailing list