Pass linkerOpts from .def to klib manifest.
This commit is contained in:
committed by
alexander-gorshenev
parent
e2516f42e6
commit
5effdcb1d2
@@ -124,6 +124,7 @@ class K2Native : CLICompiler<K2NativeCompilerArguments>() {
|
||||
put(ABI_VERSION, 1)
|
||||
|
||||
arguments.mainPackage ?.let{ put(ENTRY, it) }
|
||||
arguments.manifestFile ?.let{ put(MANIFEST_FILE, it) }
|
||||
arguments.runtimeFile ?.let{ put(RUNTIME_FILE, it) }
|
||||
arguments.propertyFile ?.let{ put(PROPERTY_FILE, it) }
|
||||
|
||||
|
||||
@@ -36,6 +36,9 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
||||
@field:Argument(value = "-list_targets", description = "List available hardware targets")
|
||||
@JvmField var listTargets: Boolean = false
|
||||
|
||||
@field:Argument(value = "-manifest", valueDescription = "<path>", description = "Provide a maniferst addend file")
|
||||
@JvmField var manifestFile: String? = null
|
||||
|
||||
@field:Argument(value = "-nativelibrary", shortName = "-nl", valueDescription = "<path>", description = "Include the native library")
|
||||
@JvmField var nativeLibraries: Array<String>? = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user