LWN.net Logo

LCA: Disintermediating distributions

LCA: Disintermediating distributions

Posted Feb 6, 2008 21:11 UTC (Wed) by nix (subscriber, #2304)
In reply to: LCA: Disintermediating distributions by aleXXX
Parent article: LCA: Disintermediating distributions

The information *is* available in a structured way: search PKG_CONFIG_PATH 
and open the file named ${package}.pc therein (or in /usr/lib/pkgconfig if 
PKG_CONFIG_PATH is not set) and just parse the file directly. Its format 
is *really* not that complicated. I've parsed it in a few dozen lines of 
shell...


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds