From 398e057844d3cd34b60ec1581e2f4b62c240aa92 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 21 Feb 2015 19:21:21 +0100 Subject: [PATCH] build_style/python-module: unbreak cross builds --- common/build-style/python-module.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/build-style/python-module.sh b/common/build-style/python-module.sh index e1fb5485fa7..ca2144ec706 100644 --- a/common/build-style/python-module.sh +++ b/common/build-style/python-module.sh @@ -43,10 +43,11 @@ do_install() { env CC="$CC" LDSHARED="$LDSHARED" \ PYPREFIX="$PYPREFIX" CFLAGS="$CFLAGS" \ LDFLAGS="$LDFLAGS" python${pyver} setup.py \ - build --build-base=build-${pyver} install ${make_install_args} + build --build-base=build-${pyver} \ + install --prefix=/usr --root=${DESTDIR} ${make_install_args} else python${pyver} setup.py build --build-base=build-${pyver} \ - install --prefix=/usr --root=$DESTDIR ${make_install_args} + install --prefix=/usr --root=${DESTDIR} ${make_install_args} fi done }