summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \
"