fix: liblspatch.so not found by modifying include path

让不同的构建有独立的输出目录,防止文件冲突
This commit is contained in:
NkBe 2025-08-18 13:40:32 +08:00
parent 155a76a43e
commit 624a786bad
No known key found for this signature in database
GPG Key ID: 75EF144ED8F4D7B8
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ androidComponents.onVariants { variant ->
val libDir = variant.name + "/strip${variantCapped}DebugSymbols"
from(
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")
)
)