aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-08-11 19:59:34 +0300
committerGitHub <noreply@github.com>2018-08-11 19:59:34 +0300
commitf91b463bf4625bfc167b78b52f091f45cddfdff4 (patch)
tree13747f96c8f68d8b6bb1b4a442de755a6cdb8ae4 /mesonbuild/backend
parentf80c11e7ee4f521b1b4e3af56293fdcac15676fe (diff)
parentfb2cdd0fe2797b30e1fd4c118407302402739a3b (diff)
downloadmeson-f91b463bf4625bfc167b78b52f091f45cddfdff4.zip
meson-f91b463bf4625bfc167b78b52f091f45cddfdff4.tar.gz
meson-f91b463bf4625bfc167b78b52f091f45cddfdff4.tar.bz2
Merge pull request #3831 from mesonbuild/symvisibility
Add gnu_symbol_visibility keyword argument
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..9dcf0fa 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.gnu_symbol_visibility_args(target.gnu_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.