parent
2f5943d34d
commit
28e491c706
2 changed files with 6 additions and 9 deletions
@ -1,12 +1,9 @@ |
|||||||
project('D Shared Library', 'd') |
project('D Shared Library', 'd') |
||||||
|
|
||||||
if meson.get_compiler('d').get_id() != 'gcc' |
if meson.get_compiler('d').get_id() == 'gcc' |
||||||
|
error('MESON_SKIP_TEST: GDC can not build shared libraries') |
||||||
ldyn = shared_library('stuff', 'libstuff.d', install : true) |
|
||||||
ed = executable('app_d', 'app.d', link_with : ldyn, install : true) |
|
||||||
test('linktest_dyn', ed) |
|
||||||
|
|
||||||
else |
|
||||||
message('GDC can not build shared libraries. Test skipped.') |
|
||||||
install_data('no-installed-files', install_dir : '') |
|
||||||
endif |
endif |
||||||
|
|
||||||
|
ldyn = shared_library('stuff', 'libstuff.d', install : true) |
||||||
|
ed = executable('app_d', 'app.d', link_with : ldyn, install : true) |
||||||
|
test('linktest_dyn', ed) |
||||||
|
Loading…
Reference in new issue