NetworkManager/src/ppp/meson.build
Iñigo Martínez 648155e4a1 license: Add license using SPDX identifiers to meson build files
License is missing in meson build files. This has been added using
SPDX identifiers and licensed under LGPL-2.1+.
2020-02-17 13:16:57 +01:00

33 lines
761 B
Meson

# SPDX-License-Identifier: LGPL-2.1+
name = 'nm-pppd-plugin'
c_flags = [
'-DG_LOG_DOMAIN="@0@"'.format(name),
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_GLIB',
]
nm_pppd_plugin = shared_module(
name,
name_prefix: '',
sources: name + '.c',
dependencies: libnm_core_nm_default_dep,
c_args: c_flags,
install: true,
install_dir: pppd_plugin_dir,
)
name = 'nm-ppp-plugin'
linker_script = join_paths(meson.current_source_dir(), 'nm-ppp-plugin.ver')
core_plugins += shared_module(
name,
sources: 'nm-ppp-manager.c',
dependencies: daemon_nm_default_dep,
c_args: daemon_c_flags,
link_args: '-Wl,--version-script,@0@'.format(linker_script),
link_depends: linker_script,
install: true,
install_dir: nm_plugindir,
)