Do not keep interop C stubs file by default
This commit is contained in:
committed by
SvyatoslavScherbina
parent
9fd555471a
commit
f94a47518a
@@ -79,6 +79,7 @@ kotlinNativeInterop {
|
||||
defFile 'clang.def'
|
||||
compilerOpts "-I$llvmDir/include"
|
||||
linkerOpts "-L$llvmDir/lib"
|
||||
genTask.args '-keepcstubs:true'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -391,4 +391,8 @@ private fun processLib(konanHome: String,
|
||||
|
||||
runCmd(compilerCmd, workDir, verbose)
|
||||
}
|
||||
|
||||
if (!args["-keepcstubs"].isTrue()) {
|
||||
outCFile.delete()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user