commit | 421fc252ab7e8768f1d200f064f5222c5c9b7b63 | [log] [tgz] |
---|---|---|
author | Benjamin Gilbert <bgilbert@backtick.net> | Wed Jun 29 01:28:23 2022 -0400 |
committer | Matt Turner <mattst88@gmail.com> | Tue Oct 18 01:02:43 2022 +0000 |
tree | e0a4f2da2dedb45922805a8bea6b11d7f9f92a8a | |
parent | 7989483929aa1b4b5db6bc0bca8137b640b6dda2 [diff] |
meson: Add feature to disable compiler TLS support When compiling with MinGW, use of the __thread attribute causes pixman to gain a dependency on the winpthread DLL. With Autotools, this could be avoided by configuring with ac_cv_tls=none, causing pixman to fall back to TlsSetValue() instead. Add a Meson 'tls' option that can be 'disabled' to skip support for TLS compiler attributes, or 'enabled' to require a working TLS attribute.