From 7964702007ae1ae1180dc9ff12f97a9b7651c8ab Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sun, 12 Dec 2021 01:27:03 +0100 Subject: 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. --- meson_options.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson_options.txt') 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''') -- cgit v1.2.1