diff --git a/config/options.python b/config/options.python index b5f1c65383..8ba932a8eb 100644 --- a/config/options.python +++ b/config/options.python @@ -1,6 +1,8 @@ PYTHON_DIR="`ls -d $ROOT/$BUILD/Python*`" -PYTHON_TOOLCHAIN_PATH=`ls -d $SYSROOT_PREFIX/usr/lib/python*/site-packages` -PYTHON_IMAGE_PATH=`ls -d $INSTALL/usr/lib/python*/site-packages` + +PYTHON_LIBDIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`" +PYTHON_TOOLCHAIN_PATH=`ls -d $PYTHON_LIBDIR/site-packages` +PYTHON_IMAGE_PATH=$PYTHON_TOOLCHAIN_PATH export PYTHON="$ROOT/$TOOLCHAIN/bin/python" export LDSHARED="$CC -shared"