aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/5 linkstatic/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/5 linkstatic/meson.build')
-rw-r--r--meson/test cases/common/5 linkstatic/meson.build6
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)