Make klib info report targets available.
This commit is contained in:
committed by
alexander-gorshenev
parent
646117a60b
commit
114010bbcd
+1
-1
@@ -49,7 +49,7 @@ class Distribution(val config: CompilerConfiguration) {
|
||||
|
||||
val stdlib = "$klib/stdlib"
|
||||
val runtime = config.get(KonanConfigKeys.RUNTIME_FILE)
|
||||
?: "$stdlib/$target/native/runtime.bc"
|
||||
?: "$stdlib/targets/$target/native/runtime.bc"
|
||||
|
||||
val llvmHome = "$dependenciesDir/${properties.propertyString("llvmHome.$hostSuffix")}"
|
||||
val hostSysRoot = "$dependenciesDir/${properties.propertyString("targetSysRoot.$hostSuffix")}"
|
||||
|
||||
+3
-1
@@ -73,8 +73,10 @@ interface SplitLibraryScheme {
|
||||
get() = File(libDir, "manifest")
|
||||
val resourcesDir
|
||||
get() = File(libDir, "resources")
|
||||
val targetsDir
|
||||
get() = File(libDir, "targets")
|
||||
val targetDir
|
||||
get() = File(libDir, target!!)
|
||||
get() = File(targetsDir, target!!)
|
||||
val kotlinDir
|
||||
get() = File(targetDir, "kotlin")
|
||||
val nativeDir
|
||||
|
||||
Reference in New Issue
Block a user