diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-21 18:29:35 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-22 16:53:43 +0300 |
commit | 4881c2cf98506313876c299b6e4937041f314474 (patch) | |
tree | 3f87d4c6d6ec32531377a45d16e4bc390902da15 /test cases | |
parent | 59e8962c2520abbb767e91d8dd50b53b865440b0 (diff) | |
download | meson-4881c2cf98506313876c299b6e4937041f314474.zip meson-4881c2cf98506313876c299b6e4937041f314474.tar.gz meson-4881c2cf98506313876c299b6e4937041f314474.tar.bz2 |
Xcode: skip link language override test.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/139 C and CPP link/meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/139 C and CPP link/meson.build b/test cases/common/139 C and CPP link/meson.build index a93a981..32d1843 100644 --- a/test cases/common/139 C and CPP link/meson.build +++ b/test cases/common/139 C and CPP link/meson.build @@ -14,6 +14,16 @@ project('C and C++ static link test', ['c', 'cpp']) +if meson.backend() == 'xcode' + error('''MESON_SKIP_TEST: overriding link language is not supported in Xcode. + +If you really need this, then patches are welcome. The only known way is +to create a dummy C++ file in the meson-private directory and adding +that to the target's source list when needed. The primitives exist +but may need some tweaking. Grep for language_stdlib_only_link_flags to find +where this is handled in other backends.''') +endif + # Verify that adding link arguments works. add_global_link_arguments('', language : 'c') add_project_link_arguments('', language : 'c') |