Bug 11585

Summary: compiz fails to link png plugin properly with LDFLAGS="-Wl,--as-needed"
Product: xorg Reporter: Hanno Böck <hanno>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Hanno Böck 2007-07-13 09:17:20 UTC
This fixes it:

--- plugins/Makefile.am.1       2007-07-02 01:52:08.000000000 +0200
+++ plugins/Makefile.am 2007-07-02 01:52:10.000000000 +0200
@@ -46,6 +46,7 @@
 libclone_la_SOURCES = clone.c

 libpng_la_LDFLAGS = -module -avoid-version -no-undefined
+libpng_la_LIBADD = -lpng12
 libpng_la_SOURCES = png.c

 libblur_la_DEPENDENCIES = $(top_builddir)/libdecoration/libdecoration.la
Comment 1 David Reveman 2007-07-24 16:18:59 UTC
Should now be fixed in head.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.