Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117850 - dev-libs/libcroco-0.6.0 allow use of --as-needed LDFLAG
Summary: dev-libs/libcroco-0.6.0 allow use of --as-needed LDFLAG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 00:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-01-06 03:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libcroco-0.6.0-asneeded.patch (libcroco-0.6.0-asneeded.patch,395 bytes, patch)
2006-01-05 00:46 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-05 00:45:46 UTC
The attached patch fixes the way linking is done for libcroco, allowing the use of --as-needed for libcroco itself and anything that uses libcroco.
The simple change makes just sure that libxml2 is linked in the library, rather than in the final executable only.

It requires the ebuild to run automake (or eautomake from autotools eclass), as it changes Makefile.am.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-05 00:46:32 UTC
Created attachment 76217 [details, diff]
libcroco-0.6.0-asneeded.patch
Comment 2 Joe McCann (RETIRED) gentoo-dev 2006-01-05 15:27:55 UTC
Patch added to cvs, thanks very much :)
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-06 03:19:50 UTC
It was eautomake not eautoconf, I fixed it in the ebuild. (it touches Makefile.am not configure.ac).