summaryrefslogtreecommitdiff
path: root/test cases/failing build
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-11-30 13:04:57 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-12-09 20:40:26 +0000
commit6700a8bfd71dd831b1dd832efc6b70bfe69879de (patch)
tree8a6b0d1aa98295a8ca9021778453af4a210469b1 /test cases/failing build
parent541307a426d90915153f31614788fea97692d69e (diff)
downloadmeson-6700a8bfd71dd831b1dd832efc6b70bfe69879de.tar.gz
Fix hidden symbol test for Windows clang
This only happened to work with MSVC by accident (since shared libraries don't export symbols by default with that)
Diffstat (limited to 'test cases/failing build')
-rw-r--r--test cases/failing build/2 hidden symbol/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/test cases/failing build/2 hidden symbol/meson.build b/test cases/failing build/2 hidden symbol/meson.build
index 052734779..f7c38e353 100644
--- a/test cases/failing build/2 hidden symbol/meson.build
+++ b/test cases/failing build/2 hidden symbol/meson.build
@@ -1,10 +1,7 @@
project('hidden symbol', 'c')
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 or Cygwin.')
- endif
+ error('MESON_SKIP_TEST -fvisibility=hidden does not work for PE files.')
endif
l = shared_library('bob', 'bob.c',