GNOME Bugzilla – Bug 340067
gnome-bluetooth 0.7.0 fails to compile with --as-needed LDFLAG
Last modified: 2006-05-04 09:44:05 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
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"
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)