Bug 79613

Summary: pkg-config-0.28: only one instance of -L<libdir> is stripped
Product: pkg-config Reporter: Samuli Suominen <ssuominen>
Component: srcAssignee: pkg-config
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high CC: freedesktop-bugs
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
See Also: http://bugs.gentoo.org/show_bug.cgi?id=512336
Whiteboard:
i915 platform: i915 features:

Description Samuli Suominen 2014-06-04 04:03:47 UTC
As reported by Mike Frysinger at http://bugs.gentoo.org/show_bug.cgi?id=512336, if Libs: has -L/usr/lib64 twice, only once instance gets stripped, whereas both should be stripped

<snip quote from Mike>

$ pkg-config --libs zlib
-L/usr/lib64 -lz 

looks like it's because it actually does -L/usr/lib64 twice:
$ cat /usr/lib64/pkgconfig/zlib.pc 
...
libdir=/usr/lib64
sharedlibdir=${libdir}
...
Libs: -L${libdir} -L${sharedlibdir} -lz

</snip quote from Mike>

Thanks for looking into it!
Comment 1 Samuli Suominen 2014-06-22 12:03:48 UTC

*** This bug has been marked as a duplicate of bug 78077 ***

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.