3 Star 0 Fork 1

src-anolis-sig/lifsea-systemd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
20003-shared-Remove-dependency-of-libcryptsetup-if-HAVE_LI.patch 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
fe.zhang 提交于 2023-04-21 14:49 . Demystifying systemd for Lifsea OS
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-sig/lifsea-systemd.git
[email protected]:src-anolis-sig/lifsea-systemd.git
src-anolis-sig
lifsea-systemd
lifsea-systemd
lifsea

搜索帮助