[Native] Use library paths instead of library names in K/N build infra
Use library paths instead of library names in K/N build infra when passing a library through `-library` compiler argument. ^KT-61098
This commit is contained in:
committed by
Space Team
parent
e7b8f3ecde
commit
c3da16a1d8
@@ -67,7 +67,7 @@ konanTargetList.forEach { target ->
|
||||
noEndorsedLibs(true)
|
||||
noPack(true)
|
||||
libraries {
|
||||
klibs(df.config.depends.map { "${fileNamePrefix}${it}" })
|
||||
klibFiles(df.config.depends.map { "$konanHome/klib/platform/$targetName/${fileNamePrefix}${it}" })
|
||||
}
|
||||
extraOpts("-Xpurge-user-libs", "-Xshort-module-name", df.name, "-Xdisable-experimental-annotation")
|
||||
compilerOpts("-fmodules-cache-path=${project.buildDir}/clangModulesCache")
|
||||
|
||||
Reference in New Issue
Block a user