Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 487740

Summary: media-libs/libpng: libpng-config --L_opts repeats default -L/usr/lib64
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal CC: codec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 487138    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-12 08:36:23 UTC
$ libpng-config --L_opts
-L/usr/lib64
$ libpng-config --R_opts
(none)

This is quite inconsistent, unnecessary and when applied with bug 487696, causes failures for multilib.

While I can agree there are other ways of solving this, IMO just dropping the -L flag would be the simplest one. That's what pkg-config does by default, for example.
Comment 1 SpanKY gentoo-dev 2013-10-12 19:52:03 UTC
if your package is still using libpng-config, it is broken.  i say use this as a marker for "i need to update to pkg-config".