]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Apply metadata replacement to ldk library as well for new rustc
authorMatt Corallo <git@bluematt.me>
Tue, 13 Jul 2021 20:15:40 +0000 (20:15 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 13 Jul 2021 20:17:11 +0000 (20:17 +0000)
deterministic-build-wrappers/rustc

index 6a18b572101a2c72119b6876db86440e05b0d5a6..947c2345b86a1973f562c46c5be2e71d5bfeb42d 100755 (executable)
@@ -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
                        ;;