3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #107253 from Emantor/topic/fix_link32_ld_wrapper

bintools-wrapper: fix inverted link32 check
This commit is contained in:
John Ericson 2020-12-20 17:59:21 -05:00 committed by GitHub
commit 241c391255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ then
done done
fi fi
if [[ "$link32" = "0" && "$setDynamicLinker" = 1 && -e "@out@/nix-support/dynamic-linker-m32" ]]; then if [[ "$link32" = "1" && "$setDynamicLinker" = 1 && -e "@out@/nix-support/dynamic-linker-m32" ]]; then
# We have an alternate 32-bit linker and we're producing a 32-bit ELF, let's # We have an alternate 32-bit linker and we're producing a 32-bit ELF, let's
# use it. # use it.
extraAfter+=( extraAfter+=(