Basic patch for android cross-compilation.
Commented non-existing functions in android NDK. Prefix scripts execution with shell binary to allow execution on no-exec mount points. Everyything is currently hard coded, while it should use pre-compiler variables...
This commit is contained in:
parent
3391018efb
commit
8a6f278fd2
2 changed files with 13 additions and 2 deletions
|
|
@ -467,8 +467,9 @@ static bool drop_privs() {
|
|||
"initgroups", strerror(errno));
|
||||
return false;
|
||||
}
|
||||
endgrent();
|
||||
endpwent();
|
||||
// Not supported in android NDK
|
||||
//endgrent();
|
||||
//endpwent();
|
||||
}
|
||||
if (do_chroot) {
|
||||
tzset(); /* for proper timestamps in logs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue