From 7573286b94846daf9075c0faaf46ee57d72d42a7 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Tue, 23 Feb 2021 22:30:13 +0300 Subject: [PATCH] Proper static link of libstdc++. --- skiko/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skiko/build.gradle.kts b/skiko/build.gradle.kts index e8f993c06..35ea89253 100644 --- a/skiko/build.gradle.kts +++ b/skiko/build.gradle.kts @@ -364,7 +364,7 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach { OS.Linux -> { linkerArgs.addAll( listOf( - "-Wl,-Bstatic", "-lstdc++", "-lgcc", "-Wl,-Bdynamic", + "-static-libstdc++", "-static-libgcc", "-lGL", "-lfontconfig",