meson: limit concurrent link jobs to 16

Statically linking, especially with LTO can use a lot of memory. Limit
to 16 jobs by default, which is more than enough. Only fuzzers are
affected as we don't produce that much binaries otherwise.
This commit is contained in:
Kacper Michajłow committed 2024-05-20 18:25:05 +02:00
1 parent 4d03efb4b0
commit b11f236eb9
1 file changed
+1
+1
View File
@@ -4,6 +4,7 @@ project('mpv',
version: files('./VERSION'),
meson_version: '>=0.62.0',
default_options: [
'backend_max_links=16',
'buildtype=debugoptimized',
'b_lundef=false',
'c_std=c11',