diff --git a/cmake/linux.cmake b/cmake/linux.cmake index 1fe163836..644f0814c 100644 --- a/cmake/linux.cmake +++ b/cmake/linux.cmake @@ -15,7 +15,7 @@ function(linux_options) the docs (https://docs.godotengine.org/en/latest/tutorials/scripting/cpp/build_system/cmake.html) for examples. ]] - option(GODOTCPP_USE_STATIC_CPP "Link libgcc and libstdc++ statically for better portability" ON) + option(GODOTCPP_USE_STATIC_CPP "Link libgcc and libstdc++ statically for better portability" OFF) endfunction() #[===========================[ Target Generation ]===========================] diff --git a/tools/linux.py b/tools/linux.py index ae8019877..8aae02c15 100644 --- a/tools/linux.py +++ b/tools/linux.py @@ -5,7 +5,7 @@ def options(opts): opts.Add(BoolVariable("use_llvm", "Use the LLVM compiler - only effective when targeting Linux", False)) - opts.Add(BoolVariable("use_static_cpp", "Link libgcc and libstdc++ statically for better portability", True)) + opts.Add(BoolVariable("use_static_cpp", "Link libgcc and libstdc++ statically for better portability", False)) def exists(env):