Add klibOutputFileName(..) into OutputFiles.kt
(cherry picked from commit c4511b8b6b8e75f0d7b3f33007da3a75923bd61b)
This commit is contained in:
committed by
Vasily Levchenko
parent
fde107b181
commit
3127da287f
+3
@@ -24,6 +24,9 @@ class OutputFiles(outputPath: String?, target: KonanTarget, val produce: Compile
|
|||||||
|
|
||||||
val outputName = outputPath?.removeSuffixIfPresent(suffix) ?: produce.visibleName
|
val outputName = outputPath?.removeSuffixIfPresent(suffix) ?: produce.visibleName
|
||||||
|
|
||||||
|
fun klibOutputFileName(isPacked: Boolean): String =
|
||||||
|
if (isPacked) "$outputName$suffix" else outputName
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Header file for dynamic library.
|
* Header file for dynamic library.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user