using dev-util/pkgconfig-0.28-r1 $ 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
I reported this for you at, http://bugs.freedesktop.org/show_bug.cgi?id=79613
(In reply to Samuli Suominen from comment #1) > I reported this for you at, > http://bugs.freedesktop.org/show_bug.cgi?id=79613 Looks like a duplicate of, https://bugs.freedesktop.org/show_bug.cgi?id=78077 that has a patch in it. Does that work for you?
it does work for me, thanks !
(In reply to SpanKY from comment #3) > it does work for me, thanks ! ok, it's in portage as pkgconfig-0.28-r2