Fix warning when staticLibraries used in .def file (#2342)

This commit is contained in:
Mike Sinkovsky
2018-11-17 17:57:37 +05:00
committed by Nikolay Igotti
parent ea4aa57545
commit 446442e588
@@ -38,7 +38,7 @@ internal fun argsToCompiler(staticLibraries: Array<String>, libraryPaths: Array<
internal fun argsToCompiler(staticLibraries: List<String>, libraryPaths: List<String>) =
resolveLibraries(staticLibraries, libraryPaths)
.map { it -> listOf("-includeBinary", it) }
.map { it -> listOf("-include-binary", it) }
.flatten()
.toTypedArray()