diff options
author | Will Dietz <w@wdtz.org> | 2018-01-05 12:36:58 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:44:33 -0600 |
commit | d5916a84cf60398f6b10676a8c26b9c09d85f4d5 (patch) | |
tree | b538ee22a8bf921862b1c25404358042d9178d01 /pkgs/build-support | |
parent | 290c62e74956f2dc98ce2a1adac0b5d8e6b5ab80 (diff) | |
download | nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar.gz nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar.bz2 nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar.lz nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar.xz nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.tar.zst nixpkgs-d5916a84cf60398f6b10676a8c26b9c09d85f4d5.zip |
bintools-wrapper: teach about musl dynamic linkers
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/bintools-wrapper/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index bb0e6b82aa5..48fd8665cb4 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -51,6 +51,7 @@ let # shell glob that ought to match it. dynamicLinker = /**/ if libc == null then null + else if targetPlatform.libc == "musl" then "${libc_lib}/lib/ld-musl-*" else if targetPlatform.system == "i686-linux" then "${libc_lib}/lib/ld-linux.so.2" else if targetPlatform.system == "x86_64-linux" then "${libc_lib}/lib/ld-linux-x86-64.so.2" # ARM with a wildcard, which can be "" or "-armhf". |