put PKG_CONFIG_PATH in cross build shell scripts instead

This commit is contained in:
Dave Murphy 2013-09-06 19:33:53 +01:00
parent 8bb0b846dc
commit b72392a9f1
3 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,6 @@ export PATH=$PATH:$TOOLPATH/$package/bin
if [ ! -z $CROSSBUILD ]; then
prefix=$INSTALLDIR/$CROSSBUILD/$package
CROSS_PARAMS="--build=`./config.guess` --host=$CROSSBUILD"
export PKG_CONFIG_PATH=$CROSSLIBPATH/pkgconfig
else
prefix=$INSTALLDIR/$package
fi

View File

@ -3,3 +3,5 @@ export CROSSBUILD=i686-w64-mingw32
export CROSSLIBPATH=/opt/i686-w64-mingw32/mingw/lib
export CROSSBINPATH=/opt/i686-w64-mingw32/mingw/bin
export PATH=/opt/i686-w64-mingw32/bin:$PATH
export PKG_CONFIG_PATH=$CROSSLIBPATH/pkgconfig

View File

@ -3,3 +3,5 @@ export CROSSBUILD=x86_64-w64-mingw32
export CROSSLIBPATH=/opt/x86_64-mingw-w64/mingw/lib
export CROSSBINPATH=/opt/x86_64-mingw-w64/mingw/bin
export PATH=/opt/x86_64-mingw-w64/bin:$PATH
export PKG_CONFIG_PATH=$CROSSLIBPATH/pkgconfig