summaryrefslogtreecommitdiffstats
path: root/src/nss-myhostname/meson.build
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-23 04:28:22 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-31 15:17:34 +0200
commit2080c0978d90e1d5989b091df1f3be3926384bd4 (patch)
treec7db2053d659a9cdcf6cfba30068105751ffc9b2 /src/nss-myhostname/meson.build
parentmeson: move declaration of cryptsetup token modules (diff)
downloadsystemd-2080c0978d90e1d5989b091df1f3be3926384bd4.tar.xz
systemd-2080c0978d90e1d5989b091df1f3be3926384bd4.zip
meson: move declarations of nss modules
Diffstat (limited to 'src/nss-myhostname/meson.build')
-rw-r--r--src/nss-myhostname/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nss-myhostname/meson.build b/src/nss-myhostname/meson.build
new file mode 100644
index 0000000000..c53ab22dbc
--- /dev/null
+++ b/src/nss-myhostname/meson.build
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+modules += [
+ nss_template + {
+ 'name' : 'nss_myhostname',
+ 'conditions' : ['ENABLE_NSS_MYHOSTNAME'],
+ 'sources' : files('nss-myhostname.c'),
+ 'link_depends' : files('nss-myhostname.sym'),
+ },
+]