From cf8e13d8b64bb4b6f457d48217ba66cf47147d6e Mon Sep 17 00:00:00 2001 From: Harold Martin Date: Mon, 6 Nov 2023 14:09:27 -0800 Subject: [PATCH] undefined dynamic_lookup --- sqliter-driver/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqliter-driver/build.gradle.kts b/sqliter-driver/build.gradle.kts index 8130c31e..14bd574e 100644 --- a/sqliter-driver/build.gradle.kts +++ b/sqliter-driver/build.gradle.kts @@ -22,7 +22,7 @@ fun configInterop(target: org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTar kotlinNativeCompilation.kotlinOptions.freeCompilerArgs += when { HostManager.hostIsLinux -> listOf( "-linker-options", - "-lsqlite3 -L/usr/lib/x86_64-linux-gnu -L/usr/lib --allow-shlib-undefined" + "-lsqlite3 -L/usr/lib/x86_64-linux-gnu -L/usr/lib -undefined dynamic_lookup" ) HostManager.hostIsMingw -> listOf("-linker-options", "-lsqlite3 -Lc:\\msys64\\mingw64\\lib")