diff options
Diffstat (limited to 'meson/test cases/common/5 linkstatic/meson.build')
-rw-r--r-- | meson/test cases/common/5 linkstatic/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/common/5 linkstatic/meson.build b/meson/test cases/common/5 linkstatic/meson.build new file mode 100644 index 000000000..1f02a5c88 --- /dev/null +++ b/meson/test cases/common/5 linkstatic/meson.build @@ -0,0 +1,6 @@ +project('static library linking test', 'c') + +lib = build_target('mylib', 'libfile.c', 'libfile2.c', 'libfile3.c', 'libfile4.c', target_type : 'static_library') +exe = executable('prog', 'main.c', link_with : lib) + +test('runtest', exe) |