X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=deterministic-build-wrappers%2Frustc;h=947c2345b86a1973f562c46c5be2e71d5bfeb42d;hb=95615c72597d5684e4314dae6e1e01170cd1a435;hp=2f356770fa0bf90512667c0fd2a02a2f94ba02a9;hpb=bcbf891d3fd4452080692bbb980864ceeaeb0736;p=ldk-c-bindings diff --git a/deterministic-build-wrappers/rustc b/deterministic-build-wrappers/rustc index 2f35677..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" ]; 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 ;; @@ -27,4 +27,4 @@ for ((i=0; i<"${#args[@]}"; ++i)); do esac done -/usr/bin/rustc "${args[@]}" +$LDK_RUSTC_PATH "${args[@]}"