aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-07-03 23:16:33 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2018-08-09 19:46:49 +0300
commit6a0e6740432dfd22c54976ae3fe2fc1c9fea0b3d (patch)
tree6e858ee5ae062f23737806bd44215b941a150673 /mesonbuild/backend
parent15fb2843955b53414cf292cf0a6b7faf7ffc883a (diff)
downloadmeson-6a0e6740432dfd22c54976ae3fe2fc1c9fea0b3d.zip
meson-6a0e6740432dfd22c54976ae3fe2fc1c9fea0b3d.tar.gz
meson-6a0e6740432dfd22c54976ae3fe2fc1c9fea0b3d.tar.bz2
Add kwarg for specifying symbol visibility.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 913830f..f88c589 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1951,6 +1951,8 @@ rule FORTRAN_DEP_HACK%s
# Create an empty commands list, and start adding arguments from
# various sources in the order in which they must override each other
commands = CompilerArgs(compiler)
+ # Start with symbol visibility.
+ commands += compiler.symbol_visibility_args(target.symbol_visibility)
# Add compiler args for compiling this target derived from 'base' build
# options passed on the command-line, in default_options, etc.
# These have the lowest priority.