diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-11-19 23:37:11 -0800 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-11-19 23:37:11 -0800 |
commit | 15111f8a9ad423d300886b537647691c2faa28cd (patch) | |
tree | 75d815e25d323e0b9a53a3ee0b0a498aebf8ce7e /pkgs/development/mobile | |
parent | fa9d6c3d9328e84787451c05170cf816295aa630 (diff) |
ndk-bundle: fix build
Since b79483d2b72c8e349a8fa8a6e67e8061d82d6027, the various architectures of the prebuilt libraries cause errors, so we need to tell patchelf to ignore missing deps.
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r-- | pkgs/development/mobile/androidenv/ndk-bundle/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/mobile/androidenv/ndk-bundle/default.nix b/pkgs/development/mobile/androidenv/ndk-bundle/default.nix index 26d6a847b4d0a..a854069e75a52 100644 --- a/pkgs/development/mobile/androidenv/ndk-bundle/default.nix +++ b/pkgs/development/mobile/androidenv/ndk-bundle/default.nix @@ -10,6 +10,7 @@ in deployAndroidPackage { inherit package os; nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; + autoPatchelfIgnoreMissingDeps = true; buildInputs = lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.python2 pkgs.ncurses5 pkgs.zlib pkgs.libcxx.out pkgs.libxml2 ]; patchInstructions = lib.optionalString (os == "linux") ('' patchShebangs . |