summaryrefslogtreecommitdiffstats
path: root/test cases/rust/3 staticlib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/rust/3 staticlib/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/rust/3 staticlib/meson.build b/test cases/rust/3 staticlib/meson.build
new file mode 100644
index 0000000..cf8e103
--- /dev/null
+++ b/test cases/rust/3 staticlib/meson.build
@@ -0,0 +1,7 @@
+project('rust static library', 'rust', 'c')
+
+o = static_library('other', 'other.rs')
+v = static_library('value', 'value.c')
+l = static_library('stuff', 'stuff.rs', link_whole : [o, v], install : true)
+e = executable('prog', 'prog.rs', link_with : l, install : true)
+test('linktest', e)