Skip to content

Commit 2853298

Browse files
committed
fix cmake.sh
1 parent 1325eb1 commit 2853298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ case $1 in
5252
;;
5353
esac
5454

55-
if "${ARCH}" == ""; then
55+
if [ "x${ARCH}" = "x" ]; then
5656
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=ON"
5757
else
5858
FLAGS+=" -DCAPSTONE_ARCHITECTURE_DEFAULT=OFF -DCAPSTONE_${ARCH}_SUPPORT=ON"

0 commit comments

Comments
 (0)