about summary refs log tree commit diff
path: root/src/core/ppp/meson.build
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2021-02-25 11:36:45 +0100
committerSebastien Bacher <seb128@ubuntu.com>2021-02-25 11:36:45 +0100
commitd92aa7f298fe84d4cf686c5ad64b73438e00d377 (patch)
tree2f1f4c7b48cff9e63b0d0e3669bada3d9aeda72e /src/core/ppp/meson.build
parenta82e048a943092315a32d745c99e0f5635e29134 (diff)
parent3a56bce6c0ea7ba0fe269520547740783b342e0d (diff)
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'src/core/ppp/meson.build')
-rw-r--r--src/core/ppp/meson.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/ppp/meson.build b/src/core/ppp/meson.build
new file mode 100644
index 00000000..607b4718
--- /dev/null
+++ b/src/core/ppp/meson.build
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+nm_pppd_plugin = shared_module(
+  'nm-pppd-plugin',
+  name_prefix: '',
+  sources: 'nm-pppd-plugin.c',
+  dependencies: libnm_core_nm_default_dep,
+  c_args: [
+    '-DG_LOG_DOMAIN="nm-pppd-plugin"',
+  ],
+  install: true,
+  install_dir: pppd_plugin_dir,
+)
+
+linker_script = join_paths(meson.current_source_dir(), 'nm-ppp-plugin.ver')
+
+core_plugins += shared_module(
+  'nm-ppp-plugin',
+  sources: [
+    'nm-ppp-manager.c',
+  ],
+  dependencies: core_plugin_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,
+)