]> git.bitcoin.ninja Git - ldk-java/commitdiff
[C#] Set the "build id" to a dummy value to improve determinism
authorMatt Corallo <git@bluematt.me>
Thu, 16 Nov 2023 22:21:36 +0000 (22:21 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 16 Nov 2023 23:09:28 +0000 (23:09 +0000)
genbindings.sh

index 2e8204cc35c206cbe57dac615ee5c720ef3101e6..7e83c1ff77818a9a3777ce44ca62f7ce54544eea 100755 (executable)
@@ -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,