summary refs log tree commit diff
path: root/pkgs/build-support/bintools-wrapper
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2018-03-27 21:24:27 -0400
committerWill Fancher <elvishjerricco@gmail.com>2018-03-27 21:24:27 -0400
commitd390ee74e3258a719c7d26dab80c107e7a7e72df (patch)
treea70147ae260ef3ceca66bf7d65400160ae2b9ec5 /pkgs/build-support/bintools-wrapper
parentdeecb4c1aab780047d79978c636eeb879dd68630 (diff)
downloadnixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar.gz
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar.bz2
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar.lz
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar.xz
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.tar.zst
nixpkgs-d390ee74e3258a719c7d26dab80c107e7a7e72df.zip
Added bionic dynamic linker
Diffstat (limited to 'pkgs/build-support/bintools-wrapper')
-rw-r--r--pkgs/build-support/bintools-wrapper/default.nix1
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 ae910b76c70..5c0436b73dd 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -53,6 +53,7 @@ let
   dynamicLinker =
     /**/ if libc == null then null
     else if targetPlatform.libc == "musl"             then "${libc_lib}/lib/ld-musl-*"
+    else if targetPlatform.libc == "bionic"           then "/system/bin/linker"
     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".