Fix SQLite release deployment
This commit is contained in:
parent
b3be908242
commit
bb9af2258b
@ -20,7 +20,7 @@
|
|||||||
set -e
|
set -e
|
||||||
echo "publishing all artifacts"
|
echo "publishing all artifacts"
|
||||||
echo
|
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
|
||||||
#echo "Creating plugin"
|
#echo "Creating plugin"
|
||||||
|
|||||||
@ -55,6 +55,14 @@ kotlin {
|
|||||||
binaries {
|
binaries {
|
||||||
executable()
|
executable()
|
||||||
all {
|
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) {
|
if (buildType == org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType.RELEASE) {
|
||||||
debuggable = false
|
debuggable = false
|
||||||
optimized = true
|
optimized = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user