From bb9af2258b6537903dbdf7721f846c7969c41d64 Mon Sep 17 00:00:00 2001 From: sergeych Date: Wed, 15 Apr 2026 23:35:59 +0300 Subject: [PATCH] Fix SQLite release deployment --- bin/deploy_all | 2 +- lyng/build.gradle.kts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/deploy_all b/bin/deploy_all index 3405158..d877752 100755 --- a/bin/deploy_all +++ b/bin/deploy_all @@ -20,7 +20,7 @@ set -e echo "publishing all artifacts" echo -./gradlew publishToMavenLocal site:jsBrowserDistribution publish buildInstallablePlugin :lyng:linkReleaseExecutableLinuxX64 :lyng:installJvmDist --parallel +./gradlew publishToMavenLocal site:jsBrowserDistribution publish buildInstallablePlugin :lyng:linkReleaseExecutableLinuxX64 :lyng:installJvmDist --parallel --no-configuration-cache #echo #echo "Creating plugin" diff --git a/lyng/build.gradle.kts b/lyng/build.gradle.kts index 1c66fda..a91245f 100644 --- a/lyng/build.gradle.kts +++ b/lyng/build.gradle.kts @@ -55,6 +55,14 @@ kotlin { binaries { executable() all { + linkerOpts( + "-L/lib/x86_64-linux-gnu", + "-l:libsqlite3.so.0", + "-ldl", + "-lpthread", + "-lm", + "-Wl,--allow-shlib-undefined" + ) if (buildType == org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType.RELEASE) { debuggable = false optimized = true