Commit b25d00bb authored by Nikolay Igotti's avatar Nikolay Igotti

Better static linking fix.

parent 59b7677e
...@@ -366,6 +366,8 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach { ...@@ -366,6 +366,8 @@ tasks.withType(LinkSharedLibrary::class.java).configureEach {
OS.Linux -> { OS.Linux -> {
linkerArgs.addAll( linkerArgs.addAll(
listOf( listOf(
"-Wl,-Bstatic", "-lstdc++", "-lgcc", "-Wl,-Bdynamic",
"-static-libgcc",
"-lGL", "-lGL",
"-lfontconfig", "-lfontconfig",
// Hack to fix problem with linker not always finding certain declarations. // Hack to fix problem with linker not always finding certain declarations.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment