mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 15:57:21 +00:00
62059c7e36
Release notes: https://sssd.io/release-notes/sssd-2.9.6.html https://sssd.io/release-notes/sssd-2.9.7.html Signed-off-by: Scott Murray <scott.murray@konsulko.com>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 512e46f3b9965cff200aa47879857d198afd8fe2 Mon Sep 17 00:00:00 2001
|
|
From: Kai Kang <kai.kang@windriver.com>
|
|
Date: Wed, 16 Jun 2021 14:42:33 +0800
|
|
Subject: [PATCH] sssd: fix for ldblibdir and systemd etc
|
|
|
|
When calculate value of ldblibdir, it checks whether the directory of
|
|
$ldblibdir exists. If not, it assigns ldblibdir with ${libdir}/ldb. It is not
|
|
suitable for cross compile. Fix it that only re-assign ldblibdir when its value
|
|
is empty.
|
|
|
|
Upstream-Status: Inappropriate [cross compile specific]
|
|
|
|
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
---
|
|
src/external/libldb.m4 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/external/libldb.m4 b/src/external/libldb.m4
|
|
index e8285a9..e98913c 100644
|
|
--- a/src/external/libldb.m4
|
|
+++ b/src/external/libldb.m4
|
|
@@ -22,7 +22,7 @@ if test x"$with_ldb_lib_dir" != x; then
|
|
ldblibdir=$with_ldb_lib_dir
|
|
else
|
|
ldblibdir="`$PKG_CONFIG --variable=modulesdir ldb`"
|
|
- if ! test -d $ldblibdir; then
|
|
+ if test -z $ldblibdir; then
|
|
ldblibdir="${libdir}/ldb"
|
|
fi
|
|
fi
|