Skip to content

Commit

Permalink
Fix lib target
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Aug 4, 2024
1 parent 09cd88e commit 92ae9f4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ protected boolean build(BuildConfig config, CustomFileDescriptor childTarget) {
customArgs.add("-j" + i );
}

CustomFileDescriptor libTarget = config.libDir.child("android");
ArrayList<String> commands = new ArrayList<>();
commands.add(androidCommand);
commands.addAll(customArgs);
commands.add("NDK_PROJECT_PATH=.");
commands.add("NDK_APPLICATION_MK=Application.mk");
commands.add(" NDK_LIBS_OUT=" + childTarget.path());
commands.add(" NDK_LIBS_OUT=" + libTarget.path());
if(!JProcess.startProcess(androidDir.file(), commands)) {
return false;
}
Expand Down

0 comments on commit 92ae9f4

Please sign in to comment.