summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorRobert Scheck <robert@fedoraproject.org>2021-12-12 01:27:03 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-14 09:58:27 +0900
commit7964702007ae1ae1180dc9ff12f97a9b7651c8ab (patch)
tree6ee582be2888f96f08f05a4487b2c04efe59a95f /meson_options.txt
parentba38a24de3e15cb32450c397cf2eac951e75fb03 (diff)
downloadsystemd-7964702007ae1ae1180dc9ff12f97a9b7651c8ab.tar.gz
boot, meson: allow statically linked build
Build option "link-boot-shared" to build a statically linked bootctl and systemd-bless-boot by using -Dlink-boot-shared=false on systems with full systemd stack except bootctl and systemd-bless-boot, such as CentOS/RHEL 9.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 4d406b3e50..401f0933d7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -23,6 +23,9 @@ option('link-networkd-shared', type: 'boolean',
description : 'link systemd-networkd and its helpers to libsystemd-shared.so')
option('link-timesyncd-shared', type: 'boolean',
description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so')
+option('link-boot-shared', type: 'boolean',
+ description : 'link bootctl and systemd-bless-boot against libsystemd-shared.so')
+
option('static-libsystemd', type : 'combo',
choices : ['false', 'true', 'pic', 'no-pic'],
description : '''install a static library for libsystemd''')