Description of problem: "pkg-config --libs" output should not include /usr/lib64 on Hammer. Version-Release number of selected component (if applicable): pkgconfig-0.14.0-1 How reproducible: Always Steps to Reproduce: e.g. $ pkg-config --libs libxml-2.0 Actual results: -L/usr/lib64 -lxml2 -lz -lm Expected results: -lxml2 -lz -lm Additional info: A simple and probably naive fix is to pass the expansion of ${libdir} into config.h, and check against that in pkg.c rather than the hard-coded "/usr/lib".
Can you remind me why it removes -L/usr/lib? (I don't remember the impact of this issue.)
I think just because it changes the order the library search path unnecessarily: so if I have "-L/usr/lib64 -L/home/joe/lib -lfoobar" then I might *want* to pick up -lfoobar out of /home/joe/lib but the /usr/lib64 means I pick up the system copy instead, if there is one. It's not a big issue anyway.
Nalin fixed this in 0.14.0-3