代码拉取完成,页面将自动刷新
From afaeb794b5ecf2772765f4a92e92f9be831ef1ea Mon Sep 17 00:00:00 2001
From: Yuanhong Peng <[email protected]>
Date: Fri, 26 Mar 2021 10:37:15 +0800
Subject: [PATCH] shared: Remove dependency of libcryptsetup if
HAVE_LIBCRYPTSETUP is not defined
We do not enable libcryptsetup in configuration, so this dependency is
fake. Remove dependency of libcryptsetup will reduce more than ten
dependencies of libsystemd-shared-239.so.
Signed-off-by: Yuanhong Peng <[email protected]>
---
src/shared/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/shared/meson.build b/src/shared/meson.build
index d0a1bba..e492ce9 100644
--- a/src/shared/meson.build
+++ b/src/shared/meson.build
@@ -131,7 +131,6 @@ libshared_deps = [threads,
librt,
libcap,
libacl,
- libcryptsetup,
libgcrypt,
libiptc,
libseccomp,
@@ -141,6 +140,10 @@ libshared_deps = [threads,
liblz4,
libblkid]
+if conf.get('HAVE_LIBCRYPTSETUP') == 1
+ libshared_deps += [libcryptsetup]
+endif
+
libshared_sym_path = '@0@/libshared.sym'.format(meson.current_source_dir())
libshared_static = static_library(
--
2.18.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。