Skip to content

Commit 8e1ff39

Browse files
committed
Fix linking for mingw
1 parent 4dc0a19 commit 8e1ff39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqliter-driver/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fun configInterop(target: org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTar
2424
"-linker-options",
2525
"-lsqlite3 -L/usr/lib/x86_64-linux-gnu" //just /usr/lib for arch
2626
)
27-
HostManager.hostIsMingw -> listOf("-linker-options", "-Lc:\\msys64\\mingw64\\lib")
27+
HostManager.hostIsMingw -> listOf("-linker-options", "-lsqlite3 -Lc:\\msys64\\mingw64\\lib")
2828
else -> listOf("-linker-options", "-lsqlite3")
2929
}
3030
}

0 commit comments

Comments
 (0)