diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-09 19:46:45 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-08-09 19:46:49 +0300 |
commit | fb2cdd0fe2797b30e1fd4c118407302402739a3b (patch) | |
tree | 8a79a935ddd1bfd181075a153f6fabf4bd482586 /test cases/failing build | |
parent | d7d948db0d9b8801afdde4f8867e4e3b94363af2 (diff) | |
download | meson-fb2cdd0fe2797b30e1fd4c118407302402739a3b.zip meson-fb2cdd0fe2797b30e1fd4c118407302402739a3b.tar.gz meson-fb2cdd0fe2797b30e1fd4c118407302402739a3b.tar.bz2 |
Call it gnu_symbol_visibility instead.
Diffstat (limited to 'test cases/failing build')
-rw-r--r-- | test cases/failing build/2 hidden symbol/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test cases/failing build/2 hidden symbol/meson.build b/test cases/failing build/2 hidden symbol/meson.build index d888385..0527347 100644 --- a/test cases/failing build/2 hidden symbol/meson.build +++ b/test cases/failing build/2 hidden symbol/meson.build @@ -1,14 +1,14 @@ project('hidden symbol', 'c') -if host_machine.system() == 'windows' +if host_machine.system() == 'windows' or host_machine.system() == 'cygwin' cc = meson.get_compiler('c') if cc.get_id() == 'gcc' - error('MESON_SKIP_TEST -fvisibility=hidden does not work on MinGW.') + error('MESON_SKIP_TEST -fvisibility=hidden does not work on MinGW or Cygwin.') endif endif l = shared_library('bob', 'bob.c', - symbol_visibility: 'hidden') + gnu_symbol_visibility: 'hidden') executable('bobuser', 'bobuser.c', link_with: l) |