Some pkg-config recomand

Enrico Weigelt weigelt at metux.de
Sun Apr 6 12:24:48 PDT 2008


* K.C.Leung ( ?o ) <z4423569 at gmail.com> schrieb:
> 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. 

Your setup seems unnecessarily complex. Dependency tracking gets
really ugly this way.

Take my advise: *never every* even think about MVCC at build time.
Use an clean sysroot environment instead.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


More information about the pkg-config mailing list