linkerOpts
Adds additional linker options. It's equivalent to the -linker-options
cinterop tool option.
Usage example
kotlin {
linuxX64() {
compilations.getByName("main") {
cinterops {
val cinterop by creating {
defFile(project.file("custom. def"))
linkerOpts("-lNativeBase64")
}
}
}
}
}
Content copied to clipboard
Parameters
values
linker options
Adds additional linker options. It's equivalent to the -linker-options
cinterop tool option.
Usage example
kotlin {
linuxX64() {
compilations.getByName("main") {
cinterops {
val cinterop by creating {
defFile(project.file("custom. def"))
linkerOpts(listOf("-lNativeBase64"))
}
}
}
}
}
Content copied to clipboard
Parameters
values
List of linker options