diff options
author | Armin Kuster <akuster808@gmail.com> | 2022-06-09 16:11:29 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-06-18 06:48:22 -0700 |
commit | db3a3e87a6f6fcc424eb208bf37417ab3aeaf43a (patch) | |
tree | dfca042d5d71cdaedf3aea7d14cbd824a7ef7410 /dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch | |
parent | b67b4cf5cafa5fb0c13dddc344ed286e7e6fcc72 (diff) | |
download | meta-security-db3a3e87a6f6fcc424eb208bf37417ab3aeaf43a.tar.gz |
sssd:move to dynamic networking-layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch')
-rw-r--r-- | dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch b/dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch new file mode 100644 index 0000000..e350baf --- /dev/null +++ b/dynamic-layers/networking-layer/recipes-security/sssd/files/fix-ldblibdir.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | When calculate value of ldblibdir, it checks whether the directory of | ||
2 | $ldblibdir exists. If not, it assigns ldblibdir with ${libdir}/ldb. It is not | ||
3 | suitable for cross compile. Fix it that only re-assign ldblibdir when its value | ||
4 | is empty. | ||
5 | |||
6 | Upstream-Status: Inappropriate [cross compile specific] | ||
7 | |||
8 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
9 | --- | ||
10 | src/external/libldb.m4 | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/external/libldb.m4 b/src/external/libldb.m4 | ||
14 | index c400add..5e5f06d 100644 | ||
15 | --- a/src/external/libldb.m4 | ||
16 | +++ b/src/external/libldb.m4 | ||
17 | @@ -19,7 +19,7 @@ if test x"$with_ldb_lib_dir" != x; then | ||
18 | ldblibdir=$with_ldb_lib_dir | ||
19 | else | ||
20 | ldblibdir="`$PKG_CONFIG --variable=modulesdir ldb`" | ||
21 | - if ! test -d $ldblibdir; then | ||
22 | + if test -z $ldblibdir; then | ||
23 | ldblibdir="${libdir}/ldb" | ||
24 | fi | ||
25 | fi | ||