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!
*** 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.