aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/145 recursive linking/stnodep
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/145 recursive linking/stnodep')
-rw-r--r--meson/test cases/common/145 recursive linking/stnodep/lib.c6
-rw-r--r--meson/test cases/common/145 recursive linking/stnodep/meson.build2
2 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/common/145 recursive linking/stnodep/lib.c b/meson/test cases/common/145 recursive linking/stnodep/lib.c
new file mode 100644
index 000000000..4bc50bea2
--- /dev/null
+++ b/meson/test cases/common/145 recursive linking/stnodep/lib.c
@@ -0,0 +1,6 @@
+#include "../lib.h"
+
+SYMBOL_EXPORT
+int get_stnodep_value (void) {
+ return 2;
+}
diff --git a/meson/test cases/common/145 recursive linking/stnodep/meson.build b/meson/test cases/common/145 recursive linking/stnodep/meson.build
new file mode 100644
index 000000000..77f7129b6
--- /dev/null
+++ b/meson/test cases/common/145 recursive linking/stnodep/meson.build
@@ -0,0 +1,2 @@
+stnodep = static_library('stnodep', 'lib.c',
+ c_args : '-DMESON_STATIC_BUILD')