Bug 690288

Summary: Avoid pre-stripping of X11.so and respect LDFLAGS
Product: Ghostscript Reporter: Timo Gurr <timo.gurr>
Component: Build ProcessAssignee: Ralph Giles <ralph.giles>
Severity: normal    
Priority: P4    
Version: 8.64   
Hardware: PC   
OS: Linux   
URL: http://bugs.gentoo.org/show_bug.cgi?id=215913
Customer: Word Size: ---
Attachments: Patch to src/devs.mak to prevent premature strip of X11.so

Description Timo Gurr 2009-02-13 10:59:43 UTC
Kevin Pyle submitted the attached patch to our Gentoo bugzilla which fixes the
two mentioned issues. Quote:

> This was caused by a very strange invocation of gcc when trying to build a
> library.  The rule passed "-Wl,-soX11.so".  This was parsed as the linker
> option -s, to strip the file, and the linker option -o, to name the file
> X11.so.  This rule also ignored user $LDFLAGS.  I will attach a patch to fix
> both issues.
> This whole area should be revisited and reworked to use libtool, but that is
> beyond the scope of this bug.

For more information please see the link in URL to the original Gentoo bugzilla
Comment 1 Timo Gurr 2009-02-13 11:00:35 UTC
Created attachment 4796 [details]
Patch to src/devs.mak to prevent premature strip of X11.so
Comment 2 Ralph Giles 2009-02-13 16:47:59 UTC
Thanks for the patch. Updated version applied as r9476.

FWIW, we're not interested in libtool patches upstream.