]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix typo introduced in 2dc5209c398ec23e5ce4f2a287bb55c33c681811
authorMatt Corallo <git@bluematt.me>
Wed, 13 Mar 2024 22:08:47 +0000 (22:08 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Mar 2024 22:08:55 +0000 (22:08 +0000)
genbindings.sh

index 897f1d624c4fda951cf40dc3c6dd41227aa4b024..5fc5882147176104cf82d340c6ab92d8452b7a0b 100755 (executable)
@@ -81,7 +81,7 @@ fi
 
 COMMON_COMPILE="$CC -std=c11 -Wall -Wextra -Wno-unused-parameter -Wno-ignored-qualifiers -Wno-unused-function -Wno-nullability-completeness -Wno-pointer-sign -Wdate-time -ffile-prefix-map=$(pwd)="
 COMMON_CC=""
-if [[ "$TARGET_STRING != *"android" ]]; then
+if [[ "$TARGET_STRING" != *"android" ]]; then
        [[ "$TARGET_STRING" != "x86"* ]] && COMMON_CC="$COMMON_CC --target=$TARGET_STRING -mcpu=$LDK_TARGET_CPU"
        [[ "$TARGET_STRING" = "x86"* ]] && COMMON_CC="$COMMON_CC --target=$TARGET_STRING -march=$LDK_TARGET_CPU -mtune=$LDK_TARGET_CPU"
 fi