Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ task buildSqlite(dependsOn: installSqlite, type: Exec) {
println("NDK directory: $ndkDir")

// Add NDK_DEBUG=1 for debug symbols or V=1 for verbose building output
if (OperatingSystem.current().linux) {
if (OperatingSystem.current().linux || OperatingSystem.current().macOsX) {
commandLine "$ndkDir/ndk-build", '-j8', '-C', file('src/main/jni').absolutePath
} else if (OperatingSystem.current().windows) {
commandLine "$ndkDir/ndk-build.cmd", '-j8', '-C', file('src/main/jni').absolutePath
Expand All @@ -114,7 +114,7 @@ task buildSqlite(dependsOn: installSqlite, type: Exec) {
}

task ndkClean(type: Exec, description: 'Clean NDK Binaries') {
if (OperatingSystem.current().linux) {
if (OperatingSystem.current().linux || OperatingSystem.current().macOsX) {
commandLine "$ndkDir/ndk-build", 'clean', '-C', file('src/main/jni').absolutePath
} else if (OperatingSystem.current().windows) {
commandLine "$ndkDir/ndk-build.cmd", 'clean', '-C', file('src/main/jni').absolutePath
Expand Down