blob: a41aac46a1b1da2f119d66c945996aef7a9ef184 (
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
|
name = 'nm-dhcp-helper'
cflags = [
'-DG_LOG_DOMAIN="@0@"'.format(name),
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_GLIB',
'-DNMRUNDIR="@0@"'.format(nm_pkgrundir),
]
ldflags = []
if have_version_script
ldflags += '-Wl,--version-script,@0@'.format(linker_script_binary)
endif
executable(
name,
name + '.c',
dependencies: nm_core_dep,
c_args: cflags,
link_args: ldflags,
link_depends: linker_script_binary,
install: true,
install_dir: nm_libexecdir
)
if enable_tests
subdir('tests')
endif
|