godot/drivers
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
..
alsa Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
alsamidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
convex_decomp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
coreaudio Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
coremidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
dummy Skeletons can now choose between using local or world coords for processing, fixes #26468 2019-03-03 12:24:00 -03:00
gl_context Fix -Wnon-virtual-dtor warnings. 2019-04-03 17:01:04 +02:00
gles2 Fix inconsistent lighting in GLES2 2019-11-12 13:09:35 +01:00
gles3 fix contact shadows appearing when shading casting is off 2019-11-12 13:09:35 +01:00
png Merge pull request #26574 from Chaosus/update_libpng 2019-03-04 13:49:11 +01:00
pulseaudio Explicitly set a channel map when initialising the Pulseaudio stream. 2019-11-12 13:09:35 +01:00
unix Fix casting to uint64_t when returning unix system time 2019-11-08 13:06:53 +01:00
wasapi Fix WASAPI driver not working when the device doesn't supports the mix format 2019-02-23 00:01:17 -03:00
windows Fix File opened with READ_WRITE on Windows 2019-04-20 22:25:02 +02:00
winmidi Drivers, main, servers: Ensure classes match their header filename 2019-02-12 14:39:47 +01:00
xaudio2 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
register_driver_types.cpp Consistency in resource format saver/loader de-registration 2019-01-10 12:45:57 +01:00
register_driver_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00