Fix Android NDK package, previously ndk-build was not being properly put in $PATH

This commit also brings in the dependencies ndk-build needs and fixes a bug with
permissions

This was commited on behalf of ewemoa
This commit is contained in:
Cray Elliott
2014-11-24 00:20:40 -08:00
parent 3f7b2bc70d
commit 6872a4a797
3 changed files with 54 additions and 11 deletions
@@ -39,7 +39,7 @@ stdenv.mkDerivation ({
${if useNDK then ''
export GNUMAKE=${gnumake}/bin/make
export NDK_HOST_AWK=${gawk}/bin/gawk
${androidndk}/ndk-build
${androidndk}/bin/ndk-build
'' else ""}
ant ${antFlags} ${if release then "release" else "debug"}
'';