aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/plugins')
-rw-r--r--tests/functional/plugins/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/functional/plugins/meson.build b/tests/functional/plugins/meson.build
new file mode 100644
index 000000000..7f8547a7f
--- /dev/null
+++ b/tests/functional/plugins/meson.build
@@ -0,0 +1,31 @@
+libplugintest = shared_module(
+ 'plugintest',
+ 'plugintest.cc',
+ dependencies : [
+ liblixutil,
+ liblixstore,
+ liblixexpr,
+ liblixfetchers,
+ ],
+ build_by_default : false,
+ link_args : shared_module_link_args,
+)
+
+libplugintestfail_link_args = []
+if is_linux
+ libplugintestfail_link_args = ['-Wl,-z,now']
+endif
+
+libplugintestfail = shared_module(
+ 'plugintestfail',
+ 'plugintestfail.cc',
+ dependencies : [
+ liblixutil,
+ liblixstore,
+ liblixexpr,
+ liblixfetchers,
+ ],
+ cpp_args : ['-DMISSING_REFERENCE'],
+ link_args : shared_module_link_args + libplugintestfail_link_args,
+ build_by_default : false,
+)