diff --git a/packages/lang/Python/build b/packages/lang/Python/build index 6ccdedaad0..b186de0236 100755 --- a/packages/lang/Python/build +++ b/packages/lang/Python/build @@ -81,10 +81,10 @@ sed -e "s|^LIBDIR=.*|LIBDIR= $SYSROOT_PREFIX/usr/lib|" \ -i $SYSROOT_PREFIX/usr/lib/python*/config/Makefile EXCLUDE_DIRS="bsddb curses idlelib lib-tk lib2to3 msilib" -INCLUDE_DIRS="compiler ctypes ctypes/macholib distutils distutils/command email" -INCLUDE_DIRS="$INCLUDE_DIRS email/mime encodings hotshot importlib json logging" -INCLUDE_DIRS="$INCLUDE_DIRS multiprocessing plat-linux2 sqlite3 xml xml/dom xml/etree" -INCLUDE_DIRS="$INCLUDE_DIRS xml/parsers xml/sax wsgiref" +INCLUDE_DIRS="compiler ctypes distutils email" +INCLUDE_DIRS="$INCLUDE_DIRS encodings hotshot importlib json logging" +INCLUDE_DIRS="$INCLUDE_DIRS multiprocessing plat-linux2 sqlite3 xml" +INCLUDE_DIRS="$INCLUDE_DIRS wsgiref" mkdir -p ./Lib cp ../Lib/*.py ./Lib diff --git a/packages/linux/meta b/packages/linux/meta index 6c9b24ed47..26b88371ae 100644 --- a/packages/linux/meta +++ b/packages/linux/meta @@ -53,7 +53,7 @@ PKG_IS_ADDON="no" PKG_AUTORECONF="no" -if [ "$DEVTOOLS" = "yes" ]; then +if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then PKG_DEPENDS="$PKG_DEPENDS Python" PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS elfutils Python" fi