Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132483

Summary: gthumb-2.6.8-r2: fix compilation with -Wl,--as-needed
Product: Gentoo Linux Reporter: TGL <tom.gl>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: minor CC: allanonjl
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.gnome.org/show_bug.cgi?id=340947
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: files/gthumb-2.6.8-as-needed.patch
gthumb-2.6.8-r2-ebuild.patch

Description TGL 2006-05-06 11:43:46 UTC
Gthumb doesn't compile with LDFLAGS="-Wl,--as-needed", because libgthumb.so is not linked to the numerous libs it uses, and thus has tens of unresolved symbols. The attached patch fixes that by setting libgthumb_la_LIBADD in its Makefile.
Comment 1 TGL 2006-05-06 11:44:41 UTC
Created attachment 86296 [details, diff]
files/gthumb-2.6.8-as-needed.patch
Comment 2 TGL 2006-05-06 11:45:36 UTC
Created attachment 86297 [details, diff]
gthumb-2.6.8-r2-ebuild.patch

Patch for the ebuild.
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2006-05-07 13:12:51 UTC
thanks, in cvs, along with 2.6.9.