]> git.bitcoin.ninja Git - ldk-java/commitdiff
Don't require a JNI_CFLAGS in genbindings.sh
authorMatt Corallo <git@bluematt.me>
Sun, 21 Mar 2021 17:10:01 +0000 (13:10 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Mar 2021 00:01:01 +0000 (20:01 -0400)
Apparently Android builds don't need this, so don't require them.

genbindings.sh

index a6d8fa7c72f7f2a9e682a80b621d36ef5e94eb64..5ca73190701ef4617adcb21a9dd20e8fa82733b4 100755 (executable)
@@ -6,7 +6,7 @@ usage() {
        echo "android should either be true or false"
        exit 1
 }
-[ "$1" = "" -o "$2" = "" ] && usage
+[ "$1" = "" ] && usage
 [ "$3" != "true" -a "$3" != "false" ] && usage
 [ "$4" != "true" -a "$4" != "false" ] && usage