about summary refs log tree commit diff
path: root/src/dhcp/meson.build
blob: 67f055d9fe78a3799b202d07873c2c4312fc8eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: LGPL-2.1+

name = 'nm-dhcp-helper'

c_flags = [
  '-DG_LOG_DOMAIN="@0@"'.format(name),
  '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_GLIB',
]

executable(
  name,
  name + '.c',
  dependencies: glib_nm_default_dep,
  c_args: c_flags,
  link_args: ldflags_linker_script_binary,
  link_depends: linker_script_binary,
  install: true,
  install_dir: nm_libexecdir,
)

if enable_tests
  subdir('tests')
endif