Skip to content

Commit

Permalink
undefined dynamic_lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Nov 6, 2023
1 parent d724fd2 commit cf8e13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqliter-driver/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cf8e13d

Please sign in to comment.