summaryrefslogtreecommitdiff
path: root/src/devices/team/meson.build
blob: 5a2770dc49f6e2340db7e6ea4235f0270cff7aa0 (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
# SPDX-License-Identifier: LGPL-2.1-or-later

libnm_device_plugin_team = shared_module(
  'nm-device-plugin-team',
  sources: files(
    'nm-device-team.c',
    'nm-team-factory.c',
  ),
  dependencies: [
    core_default_dep,
    jansson_dep,
    libteamdctl_dep,
  ],
  c_args: daemon_c_flags,
  link_args: ldflags_linker_script_devices,
  link_depends: linker_script_devices,
  install: true,
  install_dir: nm_plugindir,
)

core_plugins += libnm_device_plugin_team

test(
  'check-local-devices-team',
  check_exports,
  args: [
    libnm_device_plugin_team.full_path(),
    linker_script_devices,
  ],
)