Fix CompileToBitcode's llvm-link invocation
Porting https://github.com/jetbrains/kotlin-native/pull/4536 which got lost in https://jetbrains.team/p/kt/code/kotlin/revision/c85c3ac1235bea8a469694f887febc6ee4979181
This commit is contained in:
committed by
Space
parent
d3b42709fd
commit
391458c355
+3
-3
@@ -167,9 +167,9 @@ open class CompileToBitcode @Inject constructor(
|
|||||||
val llvmDir = project.findProperty("llvmDir")
|
val llvmDir = project.findProperty("llvmDir")
|
||||||
executable = "$llvmDir/bin/llvm-link"
|
executable = "$llvmDir/bin/llvm-link"
|
||||||
args = listOf("-o", outFile.absolutePath) + linkerArgs +
|
args = listOf("-o", outFile.absolutePath) + linkerArgs +
|
||||||
project.fileTree(objDir) {
|
inputFiles.map {
|
||||||
include("**/*.bc")
|
bitcodeFileForInputFile(it).absolutePath
|
||||||
}.files.map { it.absolutePath }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user