diff --git a/tools/cross/mipsel-linux/cross-configure.sh b/tools/cross/mipsel-linux/cross-configure.sh index e815cc2b4..0121d498e 100755 --- a/tools/cross/mipsel-linux/cross-configure.sh +++ b/tools/cross/mipsel-linux/cross-configure.sh @@ -10,7 +10,7 @@ cd native cd ../mipsel-linux export MIPSEL=/opt/gcw0-toolchain export MIPSEL_SYSROOT=$MIPSEL/usr/mipsel-gcw0-linux-uclibc/sysroot -export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/lib/pkgconfig +export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/usr/lib/pkgconfig export PKG_CONFIG_PATH=$MIPSEL_SYSROOT/usr/local/lib/pkgconfig export PATH=$MIPSEL/usr/bin:$PATH ../../configure --host=mipsel-linux \ diff --git a/tools/cross/mipsel-linux/cross-make.sh b/tools/cross/mipsel-linux/cross-make.sh index 5e3a1f9c5..cf1495c02 100755 --- a/tools/cross/mipsel-linux/cross-make.sh +++ b/tools/cross/mipsel-linux/cross-make.sh @@ -9,7 +9,7 @@ if test -d native; then fi export MIPSEL=/opt/gcw0-toolchain export MIPSEL_SYSROOT=$MIPSEL/usr/mipsel-gcw0-linux-uclibc/sysroot -export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/lib/pkgconfig +export PKG_CONFIG_LIBDIR=$MIPSEL_SYSROOT/usr/lib/pkgconfig export PKG_CONFIG_PATH=$MIPSEL_SYSROOT/usr/local/lib/pkgconfig export PATH=$MIPSEL/usr/bin:$PATH