Some pkg-config recomand

Tollef Fog Heen tfheen at err.no
Tue Mar 4 06:53:08 PST 2008


* "K.C.Leung ( 聰 )" 

| I've install the package for the prefix /usr and /opt/my_suite. Their 
| version is 1.0.0 and 1.0.1. Suppose the $PKG_CONFIG_PATH is set correctly.
| 
| pkg-config --modversion "$my_package"
| 
| It shows "1.0.0". Now, I suggest that the pkg-config can go though all the 
| $PKG_CONFIG_PATH. Then compare the version and show the lastest one. 

Correct, pkg-config doesn't look for the newest package.  It's a bug;
patches accepted.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the pkg-config mailing list