From: Matt Corallo Date: Thu, 16 Nov 2023 22:21:36 +0000 (+0000) Subject: [C#] Set the "build id" to a dummy value to improve determinism X-Git-Tag: v0.0.118.0-alpha1~7 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=commitdiff_plain;h=7fc22dbe906484bf6d2b5d38bd995bb54f26c210 [C#] Set the "build id" to a dummy value to improve determinism --- diff --git a/genbindings.sh b/genbindings.sh index 2e8204cc..7e83c1ff 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -157,7 +157,7 @@ if [ "$2" = "c_sharp" ]; then [ "$IS_WIN" = "true" ] && COMPILE="$COMPILE --target=x86_64-pc-windows-gnu" LDK_LIB="$1"/lightning-c-bindings/target/$LDK_TARGET/release/libldk.a if [ "$IS_MAC" = "false" -a "$IS_WIN" = "false" -a "$4" = "false" ]; then - LINK="$LINK -Wl,--version-script=c_sharp/libcode.version" + LINK="$LINK -Wl,--version-script=c_sharp/libcode.version -Wl,--build-id=0x0000000000000000" fi # When building for Windows, a timestamp is included in the resulting dll,