From 7fc22dbe906484bf6d2b5d38bd995bb54f26c210 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 16 Nov 2023 22:21:36 +0000 Subject: [PATCH] [C#] Set the "build id" to a dummy value to improve determinism --- genbindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5