Reconfigure interop with LLVM

Use more strict linking.
Also remove unused components.
This commit is contained in:
Svyatoslav Scherbina
2017-05-27 10:11:07 +03:00
committed by SvyatoslavScherbina
parent 23f1df015d
commit d7adbfd221
3 changed files with 15 additions and 56 deletions
@@ -413,9 +413,9 @@ private fun processLib(konanHome: String,
val outLib = File(nativeLibsDir, System.mapLibraryName(libName))
val linkerCmd = arrayOf("$llvmInstallPath/bin/$linker", *linkerOpts, outOFile.absolutePath, "-shared",
"-o", outLib.absolutePath,
"-Wl,-flat_namespace,-undefined,dynamic_lookup")
val linkerCmd = arrayOf("$llvmInstallPath/bin/$linker",
outOFile.absolutePath, "-shared", "-o", outLib.absolutePath,
*linkerOpts)
runCmd(linkerCmd, workDir, verbose)