anchor.diff:      for progname in ndk-build; do
           ln -sf ../libexec/android-sdk/ndk-bundle/$progname $out/bin/$progname
       done
  -  '');
  +  '';
     noAuditTmpdir = true; # Audit script gets invoked by the build/ component in the path for the make standalone script
   }
  
positive.code:     ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
    autoPatchelfIgnoreMissingDeps = true;
    buildInputs = lib.optionals (os == "linux") [ pkgs.zlib ];
    patchInstructions = lib.optionalString (os == "linux") (''
      patchShebangs .
  
      # TODO: allow this stuff
  
negative.code:         addAutoPatchelfSearchPath $out/libexec/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/lib64
      fi
  
      if [ -d toolchains/llvm/prebuilt/linux-x86_64 ]; then
          find toolchains/llvm/prebuilt/linux-x86_64 -type d -name bin -or -name lib64 | while read dir; do
              autoPatchelf "$dir"
          done
      fi
  
      # fix ineffective PROGDIR / MYNDKDIR determination
      for progname in ndk-build; do
  