After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652722 - Build fails with -Wl,--as-needed
Build fails with -Wl,--as-needed
Status: RESOLVED FIXED
Product: gnome-color-manager
Classification: Core
Component: general
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-color-manager-maint
gnome-color-manager-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-16 12:38 UTC by Dominique Leuenberger
Modified: 2011-06-16 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix linking with -Wl,--as-needed (534 bytes, patch)
2011-06-16 12:38 UTC, Dominique Leuenberger
none Details | Review

Description Dominique Leuenberger 2011-06-16 12:38:44 UTC
Created attachment 190036 [details] [review]
fix linking with -Wl,--as-needed

with the 3.1.2 tarball (and thus also current git master), the build fails when using --as-needed linker option on building gcm_dump_profile, as all the libs are linked before the static libgcmshared.a.
Comment 1 Richard Hughes 2011-06-16 12:55:21 UTC
Pushed, thanks.

commit 3a0683d6b4804f9cd4924713dcab8b80f5864354
Author: Dominique Leuenberger <dominique-gnomezilla@leuenberger.net>
Date:   Thu Jun 16 13:55:00 2011 +0100

    Fix linking with -Wl,--as-needed
    
    Resolves https://bugzilla.gnome.org/show_bug.cgi?id=652722
    
    Signed-off-by: Richard Hughes <richard@hughsie.com>