Skip to content

Commit d033e8a

Browse files
committed
On Linux default use_static_cpp to disabled
1 parent fde93df commit d033e8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/linux.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function(linux_options)
1515
the docs (https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html)
1616
for examples.
1717
]]
18-
option(GODOTCPP_USE_STATIC_CPP "Link libgcc and libstdc++ statically for better portability" ON)
18+
option(GODOTCPP_USE_STATIC_CPP "Link libgcc and libstdc++ statically for better portability" OFF)
1919
endfunction()
2020

2121
#[===========================[ Target Generation ]===========================]

tools/linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def options(opts):
77
opts.Add(BoolVariable("use_llvm", "Use the LLVM compiler - only effective when targeting Linux", False))
8-
opts.Add(BoolVariable("use_static_cpp", "Link libgcc and libstdc++ statically for better portability", True))
8+
opts.Add(BoolVariable("use_static_cpp", "Link libgcc and libstdc++ statically for better portability", False))
99

1010

1111
def exists(env):

0 commit comments

Comments
 (0)