summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-09-29 14:46:44 -0700
committerDylan Baker <dylan@pnwbakers.com>2023-10-17 08:09:06 -0700
commitd38bf5fbb0b21e1f33ee81d52a361d4c8f8847a5 (patch)
tree7a6466aa07a0eb636d8393baec95c6f4b8c9a907 /mesonbuild/modules/python.py
parent0f23dc5b03fda2e8958903eb25587a7e4e2daa67 (diff)
downloadmeson-d38bf5fbb0b21e1f33ee81d52a361d4c8f8847a5.tar.gz
interpreter: use typed_kwargs for build_target.gnu_symbol_visibility
Diffstat (limited to 'mesonbuild/modules/python.py')
-rw-r--r--mesonbuild/modules/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
index 432962cee..ec95374d3 100644
--- a/mesonbuild/modules/python.py
+++ b/mesonbuild/modules/python.py
@@ -232,7 +232,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']):
kwargs['name_prefix'] = ''
kwargs['name_suffix'] = target_suffix
- if 'gnu_symbol_visibility' not in kwargs and \
+ if kwargs['gnu_symbol_visibility'] == '' and \
(self.is_pypy or mesonlib.version_compare(self.version, '>=3.9')):
kwargs['gnu_symbol_visibility'] = 'inlineshidden'