Patchwork [1/1] cracklib: fix QA warning about unsafe references in binaries

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date June 7, 2013, 5:58 a.m.
Message ID <a038e6316f3ad43a329985f91221ae6ec6e52367.1370584480.git.wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/51271/
State Accepted
Commit 7ffe63c4a4f6b3adfea97eed4c0452c287784663
Headers show

Comments

wenzong.fan@windriver.com - June 7, 2013, 5:58 a.m.
From: Wenzong Fan <wenzong.fan@windriver.com>

If enable test 'unsafe-references-in-binaries', build libpam will get
following warnings:

WARNING: QA Issue: libpam: /lib/security/pam_cracklib.so, installed in \
the base_prefix, requires a shared library under exec_prefix (/usr): \
libcrack.so.2 => /usr/lib/libcrack.so.2

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-extended/cracklib/cracklib_2.8.22.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/cracklib/cracklib_2.8.22.bb b/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
index ae5abc4..303c472 100644
--- a/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
+++ b/meta/recipes-extended/cracklib/cracklib_2.8.22.bb
@@ -8,7 +8,7 @@  DEPENDS = "cracklib-native zlib"
 DEPENDS_class-native = "zlib"
 PR ="r0"
 
-EXTRA_OECONF = "--without-python"
+EXTRA_OECONF = "--without-python --libdir=${base_libdir}"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/cracklib/cracklib-${PV}.tar.gz \
            file://0001-packlib.c-support-dictionary-byte-order-dependent.patch \