summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-04-24 18:07:58 -0500
committerJohn Klug <john.klug@multitech.com>2018-04-24 18:07:58 -0500
commit455cc777331b3432f477df54ea8d0419c11b4737 (patch)
treedc8d1cf46dc7497a4ffcfd914a565aee0bafcbfb
parent592e3edf6abf0556b872c9748717bd6e2d29126b (diff)
downloadmeta-mlinux-455cc777331b3432f477df54ea8d0419c11b4737.tar.gz
meta-mlinux-455cc777331b3432f477df54ea8d0419c11b4737.tar.bz2
meta-mlinux-455cc777331b3432f477df54ea8d0419c11b4737.zip
Updates to put files in /lib instead of /usr/lib for mLinux 4
-rw-r--r--recipes-support/libpwquality/libpwquality_1.3.0.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-support/libpwquality/libpwquality_1.3.0.bb b/recipes-support/libpwquality/libpwquality_1.3.0.bb
index 90fd804..b98b57b 100644
--- a/recipes-support/libpwquality/libpwquality_1.3.0.bb
+++ b/recipes-support/libpwquality/libpwquality_1.3.0.bb
@@ -9,10 +9,11 @@ SRC_URI[sha256sum] = "74d2ea90e103323c1f2d6a6cc9617cdae6877573eddb31aaf31a40f354
inherit autotools-brokensep pkgconfig gettext pythonnative
-DEPENDS = "zlib cracklib libpam"
+DEPENDS = "zlib cracklib libpam python"
EXTRA_OECONF = " \
--with-python-binary=${PYTHON} \
+ --libdir=${base_libdir} \
"
do_compile() {
@@ -34,7 +35,7 @@ do_install() {
}
FILES_${PN} += " \
- ${libdir}/security/*.so \
+ ${base_libdir}/security/*.so \
"
PACKAGE_BEFORE_PN += "${PN}-python"
@@ -45,14 +46,15 @@ FILES_${PN}-python = " \
FILES_${PN}-staticdev += " \
${PYTHON_SITEPACKAGES_DIR}/*.a \
- ${libdir}/security/*.a \
+ ${base_libdir}/security/*.a \
"
FILES_${PN}-dev += " \
${PYTHON_SITEPACKAGES_DIR}/*.la \
- ${libdir}/security/*.la \
+ ${base_libdir}/security/*.la \
+ ${base_libdir}/pkgconfig/pwquality.pc \
"
FILES_${PN}-dbg += "\
${PYTHON_SITEPACKAGES_DIR}/.debug \
- ${libdir}/security/.debug \
+ ${base_libdir}/security/.debug \
"