diff --git a/libcodec2-android/build.gradle b/libcodec2-android/build.gradle index 1543ea3..6971005 100644 --- a/libcodec2-android/build.gradle +++ b/libcodec2-android/build.gradle @@ -74,12 +74,12 @@ task compileCodec2 { doLast { exec { workingDir "$projectDir/build/codec2_build_linux" - commandLine "/usr/bin/cmake", "$projectDir/src/codec2" + commandLine "cmake", "$projectDir/src/codec2" } exec { workingDir "$projectDir/build/codec2_build_linux" - commandLine "/usr/bin/make" + commandLine "make" } for(String abi : rootProject.ext.ABI_FILTERS.split(";")) { @@ -96,7 +96,7 @@ task compileCodec2 { exec { workingDir "$projectDir/build/codec2_build_android_" + abi - commandLine "/usr/bin/cmake", "--build", "." + commandLine "cmake", "--build", "." } copy { diff --git a/libopus-android/build.gradle b/libopus-android/build.gradle index b08f6be..a2987c2 100644 --- a/libopus-android/build.gradle +++ b/libopus-android/build.gradle @@ -74,12 +74,12 @@ task compileOpus { doLast { exec { workingDir "$projectDir/build/opus_build_linux" - commandLine "/usr/bin/cmake", "$projectDir/src/opus" + commandLine "cmake", "$projectDir/src/opus" } exec { workingDir "$projectDir/build/opus_build_linux" - commandLine "/usr/bin/make" + commandLine "make" } for(String abi : rootProject.ext.ABI_FILTERS.split(";")) { @@ -95,7 +95,7 @@ task compileOpus { exec { workingDir "$projectDir/build/opus_build_android_" + abi - commandLine "/usr/bin/cmake", "--build", "." + commandLine "cmake", "--build", "." } copy {