[grisbi-bugs] [patch] fix strict linking

Guillaume Rousse Guillaume.Rousse at inria.fr
Tue Apr 27 22:38:24 CEST 2010


Hello.

The following patch fixes linking with -Wl,--as-needed linker option, by
removing GTK libs flags from LDFLAGS, and issuing them separatly through
grisbi_LDADD automake variable. This ensure -l flags always get added
after object files, not before.

See for detail
http://wiki.mandriva.com/en/Development/Tasks/Packaging/Problems/Overlinking
-- 
BOFH excuse #164:

root rot

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grisbi-0.6.0-asneeded.patch
URL: <http://listes.grisbi.org/pipermail/bugsreports/attachments/20100427/9a7d40ed/attachment.ksh>


More information about the bugsreports mailing list