Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132483 - gthumb-2.6.8-r2: fix compilation with -Wl,--as-needed
Summary: gthumb-2.6.8-r2: fix compilation with -Wl,--as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-05-06 11:43 UTC by TGL
Modified: 2006-05-07 13:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
files/gthumb-2.6.8-as-needed.patch (gthumb-2.6.8-as-needed.patch,391 bytes, patch)
2006-05-06 11:44 UTC, TGL
Details | Diff
gthumb-2.6.8-r2-ebuild.patch (gthumb-2.6.8-r2-ebuild.patch,680 bytes, patch)
2006-05-06 11:45 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.