mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-28 21:04:49 -05:00
put PKG_CONFIG_PATH in cross build shell scripts instead
This commit is contained in:
parent
8bb0b846dc
commit
b72392a9f1
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user