Fix build in BSD, there is no RPATH in there ##build
This commit is contained in:
parent
64e36a85af
commit
b2be57f9f7
|
@ -95,11 +95,11 @@ if [ "${USE_CS5}" = 1 ]; then
|
|||
CFGARG="${CFGARG} --with-capstone5"
|
||||
fi
|
||||
|
||||
if [ "${OSNAME}" != Darwin ] && [ -n "${PREFIX}" ] && [ "${PREFIX}" != /usr ]; then
|
||||
if [ "${OSNAME}" = Linux ] && [ -n "${PREFIX}" ] && [ "${PREFIX}" != /usr ]; then
|
||||
CFGARG="${CFGARG} --with-rpath"
|
||||
fi
|
||||
|
||||
ccache --help > /dev/null
|
||||
ccache --help > /dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
[ -z "${CC}" ] && CC=gcc
|
||||
CC="ccache ${CC}"
|
||||
|
|
Loading…
Reference in New Issue