aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/plugins/meson.build
blob: 7f8547a7f64487e6bf7440eb22cf9e4b1090630c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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,
)