From 2aa805fa52852a6e60423b77d380363e59516e2e Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Sun, 7 Jun 2020 01:06:21 +0200 Subject: [PATCH] Another round of fixes, cinterop works again --- multiplatform-crypto-delegated/build.gradle.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/multiplatform-crypto-delegated/build.gradle.kts b/multiplatform-crypto-delegated/build.gradle.kts index d62da8d..d3fccd6 100644 --- a/multiplatform-crypto-delegated/build.gradle.kts +++ b/multiplatform-crypto-delegated/build.gradle.kts @@ -279,9 +279,9 @@ kotlin { val linux64Bit = setOf( "linuxX64" ) - val linuxArm64Bit = setOf { + val linuxArm64Bit = setOf( "linuxArm64" - } + ) val linux32Bit = setOf( "" // "linuxArm32Hfp" ) @@ -325,6 +325,7 @@ kotlin { } } if (linuxArm64Bit.contains(this@withType.name)) { + defaultSourceSet.dependsOn(createWorkaroundNativeMainSourceSet(this@withType.name, nativeDependencies)) compilations.getByName("main") { val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def"))