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",