pkg-config源码编译安装

wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
tar xzvf pkg-config-0.29.2.tar.gz 
cd pkg-config-0.29.2/
OUTPUT=`pwd`/output
./configure --with-internal-glib --enable-iconv=no --with-libiconv=gnu --prefix=${OUTPUT}
make -j
make check
make install
export PATH=${OUTPUT}/bin:$PATH

你可能感兴趣的:(pkg-config源码编译安装)