From 78b63170ab2ee4775c187cd70126504ca9116ed9 Mon Sep 17 00:00:00 2001 From: Christian Melchior Date: Wed, 10 Jan 2024 09:58:11 +0100 Subject: [PATCH] Fix native libs other than macos being copied correctly. --- packages/cinterop/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cinterop/build.gradle.kts b/packages/cinterop/build.gradle.kts index 429fcf8619..ddde50796e 100644 --- a/packages/cinterop/build.gradle.kts +++ b/packages/cinterop/build.gradle.kts @@ -413,7 +413,8 @@ val buildJVMSharedLibs: TaskProvider by tasks.registering { * mostly useful on CI. */ val copyJVMSharedLibs: TaskProvider by tasks.registering { - val copyJvmABIs = project.hasProperty("copyJvmABIs") && project.property("copyJvmABIs") == "true" + val copyJvmABIs = project.hasProperty("realm.kotlin.copyNativeJvmLibs") && project.property("realm.kotlin.copyNativeJvmLibs") == "true" + logger.info("Copy native Realm JVM libraries: $copyJvmABIs") if (copyJvmABIs) { // copy MacOS pre-built binaries project.file("$buildDir/realmMacOsBuild/librealmc.dylib")