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 340067 - gnome-bluetooth 0.7.0 fails to compile with --as-needed LDFLAG
gnome-bluetooth 0.7.0 fails to compile with --as-needed LDFLAG
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
0.7.x
Other All
: Normal normal
: ---
Assigned To: Edd Dumbill
Edd Dumbill
Depends on:
Blocks:
 
 
Reported: 2006-04-28 21:28 UTC by Steev Klimaszewski
Modified: 2006-05-04 09:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix ld flags (2.23 KB, text/plain)
2006-04-28 21:31 UTC, Steev Klimaszewski
Details

Description Steev Klimaszewski 2006-04-28 21:28:18 UTC
Please describe the problem:
When gnome-bluetooth 0.7.0 is compiled with LDFLAGS="-Wl,--as-needed" it fails
during compilation, saying that it can't find some libraries that are needed (I
do apologize for not having the message, I already have a patch)

Steps to reproduce:
1. set LDFLAGS="-Wl,--as-needed"
2. compile 
3. compilation fails


Actual results:


Expected results:
Compilation should succeed

Does this happen every time?


Other information:
Will be attaching a patch as well as CCing mobile and pda at gentoo dot org
Comment 1 Steev Klimaszewski 2006-04-28 21:31:25 UTC
Created attachment 64491 [details]
patch to fix ld flags

This patch was written by Diego Pettenò (Flameeyes) and fixes the compilation when using LDFLAGS="-Wl,--as-needed"
Comment 2 Bastien Nocera 2006-05-04 09:44:05 UTC
Thanks for the patch.

2006-05-04  Bastien Nocera  <hadess@hadess.net>

        * src/Makefile.am: patch from Diego Pettenò to fix compilation
        when using -Wl,--as-needed (Closes: #340067)