diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-09-23 13:40:45 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-09-23 13:40:45 -0400 |
commit | f089afe96539f90c24cdba9005e689d410a24e93 (patch) | |
tree | 41d6ee09701ff30bf91795310ed4cdf930094122 /pkgs | |
parent | 85df382f2127f4e06744748ef66bc63b0dc2fd7d (diff) |
androidndk: get correct libs for x86_64
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/androidndk-pkgs/androidndk-pkgs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix index 02aa6567c1a97..6bcfcfc302357 100644 --- a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix +++ b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix @@ -103,6 +103,6 @@ rec { cp -r ${buildAndroidndk}/libexec/android-sdk/ndk-bundle/sysroot/usr/include $out/include chmod +w $out/include cp -r ${buildAndroidndk}/libexec/android-sdk/ndk-bundle/sysroot/usr/include/${targetInfo.triple}/* $out/include - ln -s ${buildAndroidndk}/libexec/android-sdk/ndk-bundle/platforms/android-${stdenv.hostPlatform.sdkVer}/arch-${hostInfo.arch}/usr/lib $out/lib + ln -s ${buildAndroidndk}/libexec/android-sdk/ndk-bundle/platforms/android-${stdenv.hostPlatform.sdkVer}/arch-${hostInfo.arch}/usr/${if hostInfo.arch == "x86_64" then "lib64" else "lib"} $out/lib ''; } |