godot/modules
Rémi Verschelde 513bfe496c SCons: Add 'split_libmodules' option to workaround linker issue
The new 'split_libmodules=yes' option is useful to work around linker
command line size limitations when linking a huge number of objects.
We're currently over 64k chars when linking libmodules.a on Windows
with MinGW, which triggers issues as seen in #30892.

Even on Linux, we can also reach linker command line size limitations
by adding more custom modules.

We force this option to True for MinGW on Windows, which fixes #30892.

Additional changes to lib splitting:

- Fix linking of the split module libs with interdependent symbols,
  hacking our way into LINKCOM and SHLINKCOM to set the `--start-group`
  and `--end-group` flags.
- Fix Python 3 compatibility in `methods.split_lib()`.
- Drop seemingly obsolete condition for 'msys' on 'posix'.
- Drop the unnecessary 'split_drivers' as the drivers lib is no longer
  too big since we moved all thirdparty builds to modules.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
(cherry picked from commit c320a82213)
2020-01-06 12:52:07 +01:00
..
bmp Fix BMP loader to distinguish between compression types 2019-09-26 14:42:51 +02:00
bullet Call activate function when setting RigidBodyBullet activation state. 2019-11-08 15:48:19 +01:00
csg Resolve: #24682 CSGPolygon - weird end cap 2019-11-12 11:34:20 +01:00
cvtt Allow building cvtt with system squish 2019-11-08 14:00:39 +01:00
dds Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
enet doc: Fix invalid tags or properties introduced in recent cherry-picks 2019-07-29 17:55:20 +02:00
etc Don't use -ffast-math or other unsafe math optimizations 2019-01-09 02:06:13 +01:00
freetype Freetype clone env for no-SMID single file 2019-06-04 11:08:40 +02:00
gdnative [GDNative] fix godot_variant_evaluate function 2019-11-12 11:40:17 +01:00
gdscript GDScript: Improve error on Object to Object invalid argument calls 2019-11-12 13:09:35 +01:00
gridmap Fix GridMap list text not expanding when palette is resized 2019-11-08 15:48:19 +01:00
hdr Cleanup unused header 2019-01-28 06:29:39 +01:00
jpg Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
mbedtls Small hack to avoid runtime error when using ubsan 2019-02-20 01:49:47 +01:00
mobile_vr doc: Sync classref with current source 2019-07-05 11:34:47 +02:00
mono C#: Throw NullReferenceException for null NodePath/RID params 2019-11-29 16:02:02 +01:00
ogg Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
opensimplex Consistently wrap booleans in [code] 2019-07-29 14:54:32 +02:00
opus SCons: Fix OPUS_ARM_OPT flag applied for all android/iphone arches 2019-04-04 12:41:25 +02:00
pvr Fix pvrtc encoder 2019-09-24 09:00:46 +02:00
recast Small fixes, mostly dupicated code 2019-09-24 09:00:45 +02:00
regex pcre2: Update to upstream version 10.33 2019-11-12 08:07:44 +01:00
squish Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
stb_vorbis AudioStreamOGGVorbis: Expose loop and loop_offset as properties 2019-11-12 11:00:33 +01:00
svg Prevent upscaled SVG from exceeding Image bounds 2019-01-28 16:00:15 +01:00
tga Fix TGA indexed images loaded with flipped color table 2019-09-24 09:00:45 +02:00
theora doc: Sync classref with current source 2019-07-05 11:34:47 +02:00
tinyexr Fix import grayscale EXR 2019-04-20 20:08:09 +02:00
upnp Update miniupnpc library to latest master 2019-11-12 07:56:46 +01:00
visual_script Fix history state setup in VisualScript 2019-11-12 11:38:51 +01:00
vorbis Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
webm doc: Sync classref with current source 2019-07-05 11:34:47 +02:00
webp libwebp: Sync with upstream 1.0.2 2019-03-04 13:13:33 +01:00
websocket WebSocketServer now sanitize destination peers. 2019-11-08 15:48:18 +01:00
xatlas_unwrap SCons: Clean xatlas SCsub from thekla/poshlib defines 2019-06-04 11:11:21 +02:00
register_module_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Add 'split_libmodules' option to workaround linker issue 2020-01-06 12:52:07 +01:00