diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-10-20 20:28:29 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-10-20 20:28:29 +0300 |
commit | 548905611c130ea9d31929a0caf7a198d8bac462 (patch) | |
tree | 1979eb4c26eb24c0d207fcba4285d0a9a38278db /py | |
parent | 084ff3c55cce8bcba7099565b334fa4c88fd9df7 (diff) |
py: add -fvisibility=hidden
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'py')
-rw-r--r-- | py/pykms/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py/pykms/meson.build b/py/pykms/meson.build index db2f8c7..518040b 100644 --- a/py/pykms/meson.build +++ b/py/pykms/meson.build @@ -32,6 +32,8 @@ if get_option('utils') pykms_deps += [ libkmsxxutil_dep ] endif +pykms_args = [ '-fvisibility=hidden' ] + destdir = get_option('libdir') / 'python' + py3_dep.version() / 'site-packages/pykms' pykms = shared_module('pykms', @@ -39,7 +41,8 @@ pykms = shared_module('pykms', install : true, install_dir : destdir, name_prefix : '', - dependencies : pykms_deps) + dependencies : pykms_deps, + cpp_args : pykms_args) # Copy __init__.py to build dir so that we can run without installing configure_file(input: '__init__.py', output: '__init__.py', copy: true, |