Quote module name in the generated modulemap
This fixes an issue where Kotlin projects named "umbrella" or "framework" produce unimportable framework modules. ^KT-66565
This commit is contained in:
committed by
Space Team
parent
4ab5c3b74b
commit
9295f44eda
+1
-1
@@ -12,7 +12,7 @@ package org.jetbrains.kotlin.backend.konan.objcexport
|
||||
*/
|
||||
class ModuleMapBuilder {
|
||||
fun build(frameworkName: String, moduleDependencies: Set<String>): String = buildString {
|
||||
appendLine("framework module $frameworkName {")
|
||||
appendLine("framework module \"$frameworkName\" {")
|
||||
appendLine(" umbrella header \"$frameworkName.h\"")
|
||||
appendLine()
|
||||
appendLine(" export *")
|
||||
|
||||
Reference in New Issue
Block a user