diff --git a/config/options.python b/config/options.python index e3a002a0e5..1f3514536b 100644 --- a/config/options.python +++ b/config/options.python @@ -5,8 +5,8 @@ PYTHON_INCDIR="`ls -d $SYSROOT_PREFIX/usr/include/python*`" PYTHON_TOOLCHAIN_PATH=`ls -d $PYTHON_LIBDIR/site-packages` PYTHON_SYSROOT_PATH=$PYTHON_TOOLCHAIN_PATH -PYTHON_IMAGE_DIR="`ls -d $BUILD/image/system/usr/lib/python*`" -PYTHON_IMAGE_PATH=`ls -d $PYTHON_IMAGE_DIR/site-packages` +PYTHON_IMAGE_DIR="`ls -d $BUILD/image/system/usr/lib/python* || true`" +PYTHON_IMAGE_PATH=`ls -d $PYTHON_IMAGE_DIR/site-packages || true` export PYTHON="$ROOT/$TOOLCHAIN/bin/python" export LDSHARED="$CC -shared"