Bug#632945: explicitly link with needed libm

Julian Taylor jtaylor.debian at googlemail.com
Thu Jul 7 09:32:46 UTC 2011


Package: powermanga
Version: 0.90-dfsg-2
Severity: wishlist
Tags: patch
Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3357639&group_id=20416&atid=120416
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch


libm is used directly by powermanga so one must link with it
It currently relies on indirect linkage by its dependencies.
If these are built with ld --as-needed --no-copy-dt-needed
the indirect linkage is missing

See the log in the ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/powermanga/+bug/771039

Attached patch fixes this issue by patching Makefile.in as it is not regenerated
by the package.
A patch patching Makefile.am has been forwarded upstream.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-as-needed-build.patch
Type: text/x-patch
Size: 1193 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110707/78aa4e4b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110707/78aa4e4b/attachment.pgp>


More information about the Pkg-games-devel mailing list