aboutsummaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2023-01-02 22:53:54 +0100
committerNikolaus Rath <Nikolaus@rath.org>2023-01-04 15:27:21 +0000
commit3736e0c85f4a8b624f6f1a27b736c18adbce9c15 (patch)
tree76cfcc05c6a150b1a738649d05887fd581df68bc /meson_options.txt
parentf212ec087037b5bb74700e6cce63c208bdbe8442 (diff)
downloadlibfuse-3736e0c85f4a8b624f6f1a27b736c18adbce9c15.tar.gz
convert __APPLE__ and __ULIBC__ to HAVE_LIBC_VERSIONED_SYMBOLS
In fact only gnu-libc fully supports symbol versioning, so it is better to have a generic macro for it. This also allows to manually disable symbol version and allows to run tests with that configuration on gnu-libc. That testing will still not catch compat issues, but least ensures the code can compile. Testing for __APPLE__ and __ULIBC__ is now done by meson. More of such checks can be added by people using other libcs.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 891ccdf..fa4749c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -19,3 +19,6 @@ option('useroot', type : 'boolean', value : true,
option('tests', type : 'boolean', value : true,
description: 'Compile the test files')
+option('disable-libc-symbol-version', type : 'boolean', value : false,
+ description: 'Disable versioned symbols through libc')
+