From 863550f681943b234690ee07055751e8c669da95 Mon Sep 17 00:00:00 2001 From: Manrich121 Date: Thu, 14 Mar 2024 17:07:26 +0200 Subject: [PATCH] fix: add `DHAVE_GETHOSTUUID` to `compilerOpts` resolving compiler error when compiling sqliteArm64Simulator --- core/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 305eaac0..f8fd0456 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -75,6 +75,7 @@ kotlin { val cInteropTask = tasks[interopProcessingTaskName] cInteropTask.dependsOn(buildCInteropDef) defFile = buildCInteropDef.get().outputs.files.singleFile + compilerOpts.addAll(listOf("-DHAVE_GETHOSTUUID=0")) } cinterops.create("powersync-sqlite-core") }