Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512336 - dev-util/pkgconfig: only one instance of -L<libdir> is stripped
Summary: dev-util/pkgconfig: only one instance of -L<libdir> is stripped
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 03:55 UTC by SpanKY
Modified: 2014-07-29 07:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2014-06-04 03:55:16 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-06-04 04:04:14 UTC
I reported this for you at,
http://bugs.freedesktop.org/show_bug.cgi?id=79613
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-06-22 11:59:31 UTC
(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?
Comment 3 SpanKY gentoo-dev 2014-07-29 05:47:39 UTC
it does work for me, thanks !
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2014-07-29 07:58:50 UTC
(In reply to SpanKY from comment #3)
> it does work for me, thanks !

ok, it's in portage as pkgconfig-0.28-r2