fix: liblspatch.so not found by modifying include path
让不同的构建有独立的输出目录,防止文件冲突
This commit is contained in:
parent
155a76a43e
commit
624a786bad
|
|
@ -44,7 +44,7 @@ androidComponents.onVariants { variant ->
|
||||||
val libDir = variant.name + "/strip${variantCapped}DebugSymbols"
|
val libDir = variant.name + "/strip${variantCapped}DebugSymbols"
|
||||||
from(
|
from(
|
||||||
fileTree(
|
fileTree(
|
||||||
"dir" to "$buildDir/intermediates/stripped_native_libs/$libDir/out/lib",
|
"dir" to "$buildDir/intermediates/stripped_native_libs/${variant.name}/strip${variantCapped}DebugSymbols/out/lib",
|
||||||
"include" to listOf("**/liblspatch.so")
|
"include" to listOf("**/liblspatch.so")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue