build_style/python-module: unbreak cross builds

This commit is contained in:
Alessio Sergi 2015-02-21 19:21:21 +01:00
parent 0605205971
commit 398e057844

View file

@ -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
}