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
enet doc: Fix invalid tags or properties introduced in recent cherry-picks 2019-07-29 17:55:20 +02:00
etc
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
jpg
mbedtls
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
opensimplex Consistently wrap booleans in [code] 2019-07-29 14:54:32 +02:00
opus
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
stb_vorbis AudioStreamOGGVorbis: Expose loop and loop_offset as properties 2019-11-12 11:00:33 +01:00
svg
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
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
webm doc: Sync classref with current source 2019-07-05 11:34:47 +02:00
webp
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
SCsub SCons: Add 'split_libmodules' option to workaround linker issue 2020-01-06 12:52:07 +01:00