From: Matt Corallo Date: Tue, 13 Jul 2021 20:15:40 +0000 (+0000) Subject: Apply metadata replacement to ldk library as well for new rustc X-Git-Tag: v0.0.99.2^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6b906a3006882c3e3afec7b2d71856bbbda7b933;p=ldk-c-bindings Apply metadata replacement to ldk library as well for new rustc --- diff --git a/deterministic-build-wrappers/rustc b/deterministic-build-wrappers/rustc index 6a18b57..947c234 100755 --- a/deterministic-build-wrappers/rustc +++ b/deterministic-build-wrappers/rustc @@ -10,7 +10,7 @@ IS_LIGHTNING=false for ((i=0; i<"${#args[@]}"; ++i)); do case ${args[i]} in --crate-name) - if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" ]; then + if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" -o "${args[i+1]}" = "ldk" ]; then IS_LIGHTNING=true fi ;;