Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion
This commit is contained in:
committed by
alexander-gorshenev
parent
86fd4da567
commit
97be5617ca
+1
-1
@@ -250,7 +250,7 @@ abstract class AbstractKotlinNativeCompile<T : KotlinCommonToolOptions> : Abstra
|
||||
addArg("-p", outputKind.name.toLowerCase())
|
||||
|
||||
if (compilation is KotlinSharedNativeCompilation) {
|
||||
add("-Xklib-mpp")
|
||||
add("-Xexpect-actual-linker")
|
||||
add("-Xmetadata-klib")
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -60,7 +60,7 @@ open class KotlinCompileCommon : AbstractKotlinCompile<K2MetadataCompilerArgumen
|
||||
args.moduleName = this@KotlinCompileCommon.moduleName
|
||||
|
||||
if ((taskData.compilation as? KotlinCommonCompilation)?.isKlibCompilation == true) {
|
||||
args.klibBasedMpp = true
|
||||
args.expectActualLinker = true
|
||||
}
|
||||
|
||||
if (defaultsOnly) return
|
||||
@@ -105,4 +105,4 @@ open class KotlinCompileCommon : AbstractKotlinCompile<K2MetadataCompilerArgumen
|
||||
)
|
||||
compilerRunner.runMetadataCompilerAsync(sourceRoots.kotlinSourceFiles, args, environment)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user