mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
bintools-wrapper: teach about musl dynamic linkers
This commit is contained in:
parent
290c62e749
commit
d5916a84cf
@ -51,6 +51,7 @@ let
|
|||||||
# shell glob that ought to match it.
|
# shell glob that ought to match it.
|
||||||
dynamicLinker =
|
dynamicLinker =
|
||||||
/**/ if libc == null then null
|
/**/ 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 == "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"
|
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".
|
# ARM with a wildcard, which can be "" or "-armhf".
|
||||||
|
Loading…
Reference in New Issue
Block a user