diff --git a/distribute.sh b/distribute.sh index d77d1a571e..6e89315a2e 100755 --- a/distribute.sh +++ b/distribute.sh @@ -224,6 +224,9 @@ function push_arm() { export MAKE="make -j5" export READELF="$TOOLCHAIN_PREFIX-readelf" + # This will need to be updated to support Python versions other than 2.7 + export BUILDLIB_PATH="$BUILD_hostpython/build/lib.linux-`uname -m`-2.7/" + # Use ccache ? which ccache &>/dev/null if [ $? -eq 0 ]; then diff --git a/recipes/twisted/recipe.sh b/recipes/twisted/recipe.sh index 19ae794116..1e4de5c2e2 100644 --- a/recipes/twisted/recipe.sh +++ b/recipes/twisted/recipe.sh @@ -27,7 +27,7 @@ function build_twisted() { export LDFLAGS="$LDFLAGS -L$LIBS_PATH" export LDSHARED="$LIBLINK" - export PYTHONPATH=$BUILD_hostpython/Lib/site-packages:$BUILD_hostpython/build/lib.linux-x86_64-2.7 + export PYTHONPATH=$SITEPACKAGES_PATH:$BUILDLIB_PATH # fake try to be able to cythonize generated files $HOSTPYTHON setup.py build_ext