编译环境 pkg-config for mac 安装

由于大部分的开源工程都需要用到pkg-config,因此今天在这讲解一下pkg-config for mac 安装过程.

1.检测环境是否已安装pkg-config

再命令行中输入: pkg-config 若未安装,则提示命令未找到.

2.安装pkg-config

curl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gz

tar -xf pkg-config-0.28.tar.gz

cd pkg-config-0.28./configure –with-internal-glib make

sudo make install

到此安装完成。

他们的快乐像贪玩的小孩,游荡到天光却还不肯回来。

编译环境 pkg-config for mac 安装

相关文章:

你感兴趣的文章:

标签云: