mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
ce48da9e02
Our code currently tries to link -lpthread and adds stuff like -D_REENTRANT based on the target platform. GCC actually supports to just pass a -pthread compiler and linker flag that will automatically enable threading and define the correct symbols for the platform, so let's try to just use that as our first choice. clang also supports -pthread but it must be used only as a compiler flag, so we also take care of that scenario with this commit. |
||
---|---|---|
.. | ||
checks | ||
detections | ||
fragments | ||
generators | ||
__init__.py | ||
dependencies.py | ||
features.py | ||
inflectors.py | ||
syms.py | ||
waf_customizations.py |