diff --git a/build.gradle b/build.gradle index 79764cc43b7..b98b5cae865 100644 --- a/build.gradle +++ b/build.gradle @@ -436,6 +436,10 @@ targetList.each { target -> destinationDir distDir + from(project(':runtime').file("build/${target}Stdlib")) { + include('**') + into(stdlib) + } from(project(':runtime').file("build/$target")) { include("runtime.bc") into("$stdlibDefaultComponent/targets/$target/native") @@ -445,10 +449,6 @@ targetList.each { target -> exclude("runtime.bc") into("konan/targets/$target/native") } - from(project(':runtime').file("build/${target}Stdlib")) { - include('**') - into(stdlibDefaultComponent) - } if (target == 'wasm32') { into("$stdlibDefaultComponent/targets/wasm32/included") { from(project(':runtime').file('src/main/js'))