build_style/python-module: unbreak cross builds
This commit is contained in:
parent
0605205971
commit
398e057844
|
@ -43,10 +43,11 @@ do_install() {
|
||||||
env CC="$CC" LDSHARED="$LDSHARED" \
|
env CC="$CC" LDSHARED="$LDSHARED" \
|
||||||
PYPREFIX="$PYPREFIX" CFLAGS="$CFLAGS" \
|
PYPREFIX="$PYPREFIX" CFLAGS="$CFLAGS" \
|
||||||
LDFLAGS="$LDFLAGS" python${pyver} setup.py \
|
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
|
else
|
||||||
python${pyver} setup.py build --build-base=build-${pyver} \
|
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
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user