GNOME Bugzilla – Bug 340560
Epiphany doesn't compile with LDFLAGS="-Wl,--as-needed"
Last modified: 2006-12-24 14:33:52 UTC
There is an error in gecko.m4 macros: because of the way it passes libs to be linked by settings $LDFLAGS instead of $LIBS, they won't be at the right place in the linker arguments, and will be dropped if user's LDFLAGS contains "-Wl,--as-needed". Thus the GECKO_XPCOM_PROGRAM_CHECK test fails, and ./configure stops. I will attach a patch which fixes that (epiphany-2.14.1 here, but cvsview didn't show any relevant change in HEAD). See also this Gentoo bug report, where this issue was discussed first: https://bugs.gentoo.org/show_bug.cgi?id=132023
Created attachment 64768 [details] [review] epiphany-2.14.1-as-needed.patch
Thanks for the patch! Ok to commit to epiphany HEAD and 2-14; afterwards we'll need to sync gecko.m4 to yelp HEAD and gnome-2-14, and devhelp and gnome-web-photo. If you don't have cvs access, I'll check this in before next release.
Thanks for your fast review and answer :) And no, i don't have CVS access.
This is fixed in epiphany + e-e cvs HEAD; leaving open so we remember to sync to other modules.
Sync'd already??