From: Matt Corallo Date: Sun, 21 Mar 2021 17:10:01 +0000 (-0400) Subject: Don't require a JNI_CFLAGS in genbindings.sh X-Git-Tag: v0.0.98~7^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=061208bb42db1507495ed74f3d4bbbc2399e45b2;p=ldk-java Don't require a JNI_CFLAGS in genbindings.sh Apparently Android builds don't need this, so don't require them. --- diff --git a/genbindings.sh b/genbindings.sh index a6d8fa7c..5ca73190 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -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