lightningdevkit / ldk-c-bindings

Main LDK C Bindings on which other bindings are built
Other
13 stars 14 forks source link

Fix aarch64 targeting and print an error if its disabled #31

Closed TheBlueMatt closed 3 years ago

TheBlueMatt commented 3 years ago

Only diff is fixed nit:

$ git diff-tree -U1 a5565d3 084318c
diff --git a/genbindings.sh b/genbindings.sh
index ced889b..fd1b785 100755
--- a/genbindings.sh
+++ b/genbindings.sh
@@ -164,3 +164,3 @@ if [ "$HOST_PLATFORM" = "host: x86_64-apple-darwin" ]; then
    export CFLAGS_aarch64_apple_darwin="$BASE_CFLAGS --target=aarch64-apple-darwin -mcpu=apple-a14" ||
-   echo "WARNING: Can not build targeting aarch64-apple-darin. Upgrade to Big Sur or try  upstream clang"
+   echo "WARNING: Can not build targeting aarch64-apple-darin. Upgrade to Big Sur or try upstream clang"
 fi