diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-11-12 19:30:38 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-11-13 00:21:33 +0100 |
commit | e2f82f61510ac8cea86a32d269df346e24c55c3a (patch) | |
tree | edd148a7b06208fe91b92d71fca48ebd8a32b5c4 /src/integritysetup | |
parent | run0: when changing privileges to non-root, do not show superhero emoji (diff) | |
download | systemd-e2f82f61510ac8cea86a32d269df346e24c55c3a.tar.xz systemd-e2f82f61510ac8cea86a32d269df346e24c55c3a.zip |
various: check meson feature flag early
Prompted by https://github.com/systemd/systemd/pull/35110#discussion_r1835885340
Diffstat (limited to 'src/integritysetup')
-rw-r--r-- | src/integritysetup/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/integritysetup/meson.build b/src/integritysetup/meson.build index 6b9d78d4e8..d72474a2a2 100644 --- a/src/integritysetup/meson.build +++ b/src/integritysetup/meson.build @@ -1,9 +1,12 @@ # SPDX-License-Identifier: LGPL-2.1-or-later +if conf.get('HAVE_LIBCRYPTSETUP') != 1 + subdir_done() +endif + executables += [ libexec_template + { 'name' : 'systemd-integritysetup', - 'conditions' : ['HAVE_LIBCRYPTSETUP'], 'sources' : files( 'integrity-util.c', 'integritysetup.c', @@ -12,7 +15,6 @@ executables += [ }, generator_template + { 'name' : 'systemd-integritysetup-generator', - 'conditions' : ['HAVE_LIBCRYPTSETUP'], 'sources' : files( 'integrity-util.c', 'integritysetup-generator.c', |