mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
Use realpath to force absolute path in sys/install.sh prefix ##build
This commit is contained in:
parent
b1a8fd3a0b
commit
70bf77114b
@ -47,11 +47,14 @@ for a in $* ; do
|
||||
esac
|
||||
done
|
||||
|
||||
ABSPREFIX=`realpath ${PREFIX}`
|
||||
[ -n "${ABSPREFIX}" ] && PREFIX="${ABSPREFIX}"
|
||||
|
||||
if [ "${USE_CS4}" = 1 ]; then
|
||||
CFGARG="${CFGARG} --with-capstone4"
|
||||
fi
|
||||
|
||||
if [ "${OSNAME}" = Linux ] && [ -n "${PREFIX}" ] && [ "${PREFIX}" != /usr ]; then
|
||||
if [ "${OSNAME}" = Linux -a -n "${PREFIX}" -a "${PREFIX}" != /usr ]; then
|
||||
CFGARG="${CFGARG} --with-rpath"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user