mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
Honor DESTDIR in sys/python.sh
This commit is contained in:
parent
f0bce391b8
commit
5ba586da9d
@ -18,6 +18,7 @@ fi
|
||||
[ -n "${NOSUDO}" ] && SUDO=
|
||||
|
||||
export PYTHON
|
||||
export DESTDIR
|
||||
export PYTHON_VERSION
|
||||
export PYTHON_CONFIG
|
||||
echo "Using PYTHON_VERSION ${PYTHON_VERSION}"
|
||||
@ -27,9 +28,9 @@ echo
|
||||
|
||||
cd r2-bindings
|
||||
./configure --prefix=${PREFIX} --enable=python || exit 1
|
||||
${SUDO} make install-vapi || exit 1
|
||||
${SUDO} make install-vapi DESTDIR=${DESTDIR} || exit 1
|
||||
cd python
|
||||
make clean
|
||||
make PYTHON=${PYTHON}
|
||||
[ ! "$1" = --no-install ] && \
|
||||
${SUDO} make install PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION}
|
||||
${SUDO} make install PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} DESTDIR=${DESTDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user