test cases/failing/31 exe static shared/meson.build
raw| 1 | project('statchain', 'c') |
| 2 | |
| 3 | host_system = host_machine.system() |
| 4 | if host_system == 'windows' or host_system == 'darwin' |
| 5 | error('MESON_SKIP_TEST test only fails on Linux and BSD') |
| 6 | endif |
| 7 | |
| 8 | statlib = static_library('stat', 'stat.c', pic : false) |
| 9 | shlib2 = shared_library('shr2', 'shlib2.c', link_with : statlib) |
| 10 | exe = executable('prog', 'prog.c', link_with : shlib2) |
| 11 | test('runtest', exe) |