Bug 79613 - pkg-config-0.28: only one instance of -L<libdir> is stripped
Summary: pkg-config-0.28: only one instance of -L<libdir> is stripped
Status: RESOLVED DUPLICATE of bug 78077
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: pkg-config
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 04:03 UTC by Samuli Suominen
Modified: 2014-06-22 12:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.