export PKG_CONFIG=/usr/bin/pkg-config
export PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/bin/pkgconfig
export PKG_CONFIG=/usr/bin/pkg-config
export PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/bin/pkgconfig
转载于:https://my.oschina.net/vitofarm/blog/324836