Skip to content

Commit 41bcfa9

Browse files
Explicit path to ndk-build for Linux
1 parent 3392ba1 commit 41bcfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: android-database-sqlcipher/native.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def executeNdkBuild(outputDir, androidMkDirectory, applicationMkFile,
150150
"ANDROID_NATIVE_ROOT_DIR": "${androidNativeRootDir}",
151151
"NDK_APP_PLATFORM" : "${androidVersion}"]
152152
environment(environmentVariables)
153-
commandLine "ndk-build", "V=1", "${ndkBuildType}",
153+
commandLine "${android.ndkDirectory}/ndk-build", "V=1", "${ndkBuildType}",
154154
"--environment-overrides", outputDirectory,
155155
"-C", androidMkDirectory, applicationFile
156156
}

0 commit comments

Comments
 (0)