Skip to content

Commit

Permalink
fix cmake.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Apr 29, 2019
1 parent 1325eb1 commit 2853298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ case $1 in
;;
esac

if "${ARCH}" == ""; then
if [ "x${ARCH}" = "x" ]; then
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=ON"
else
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF -DCAPSTONE_${ARCH}_SUPPORT=ON"
Expand Down

0 comments on commit 2853298

Please sign in to comment.