Do not keep interop C stubs file by default

This commit is contained in:
Svyatoslav Scherbina
2017-03-30 16:49:05 +03:00
committed by SvyatoslavScherbina
parent 9fd555471a
commit f94a47518a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -79,6 +79,7 @@ kotlinNativeInterop {
defFile 'clang.def'
compilerOpts "-I$llvmDir/include"
linkerOpts "-L$llvmDir/lib"
genTask.args '-keepcstubs:true'
}
}
@@ -391,4 +391,8 @@ private fun processLib(konanHome: String,
runCmd(compilerCmd, workDir, verbose)
}
if (!args["-keepcstubs"].isTrue()) {
outCFile.delete()
}
}