Use syscapstone from sys/install.sh when cs-3.0 is found by pkg-config

This commit is contained in:
pancake 2014-11-23 23:25:14 +01:00
parent ad602ebccc
commit dda118423a

View File

@ -33,6 +33,11 @@ if [ $? = 0 ]; then
export CC
fi
pkg-config --atleast-version=3.0 capstone 2>/dev/null
if [ $? = 0 ]; then
CFGARG="${CFGARG} --with-syscapstone"
fi
# build
${MAKE} mrproper > /dev/null 2>&1
if [ -d shlr/capstone/.git ]; then