[Swfdec-commits] [Bug 549621] New: swfdec-gnome misuses _LDFLAGS automake variable, fails to build with --as-needed forced on
bugzilla-daemon at bugzilla.gnome.org
Wed Aug 27 12:30:52 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
swfdec-gnome | general | Ver: 2.22.x
Summary: swfdec-gnome misuses _LDFLAGS automake variable, fails
to build with --as-needed forced on
AssignedTo: swfdec-gnome-maint at gnome.bugs
ReportedBy: flameeyes at gentoo.org
QAContact: swfdec-gnome-maint at gnome.bugs
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Please describe the problem:
The target_LDFLAGS variable in automake is designed to pass flags to the
linker, but swfdec-gnome 2.22.2 passes libraries through them, which is
While libtool parameter reordering makes it fine even when passing
-Wl,--as-needed through LDFLAGS, a compiler with specs modified to force
--Wl,--as-needed on, or a linker with --as-needed forced on, will refuse to
link correctly because of this.
The fix is very quick, replacing _LDFLAGS with _LIBADD.
Steps to reproduce:
Does this happen every time?
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=549621.
More information about the Swfdec-commits