diff options
-rw-r--r-- | meta/recipes-extended/cracklib/cracklib_2.9.5.bb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-extended/cracklib/cracklib_2.9.5.bb b/meta/recipes-extended/cracklib/cracklib_2.9.5.bb index 8c9063e07c..3bd3f93674 100644 --- a/meta/recipes-extended/cracklib/cracklib_2.9.5.bb +++ b/meta/recipes-extended/cracklib/cracklib_2.9.5.bb | |||
@@ -29,8 +29,7 @@ do_install_append_class-target() { | |||
29 | 29 | ||
30 | do_install_append() { | 30 | do_install_append() { |
31 | src_dir="${D}${base_libdir}/${PYTHON_DIR}/site-packages" | 31 | src_dir="${D}${base_libdir}/${PYTHON_DIR}/site-packages" |
32 | rm -f $src_dir/*.pyo | 32 | rm -f $src_dir/test_cracklib.py* |
33 | rm -f $src_dir/test_cracklib.py | ||
34 | 33 | ||
35 | if [ "${base_libdir}" != "${libdir}" ] ; then | 34 | if [ "${base_libdir}" != "${libdir}" ] ; then |
36 | # Move python files from ${base_libdir} to ${libdir} since used --libdir=${base_libdir} | 35 | # Move python files from ${base_libdir} to ${libdir} since used --libdir=${base_libdir} |
@@ -42,9 +41,7 @@ do_install_append() { | |||
42 | 41 | ||
43 | BBCLASSEXTEND = "native nativesdk" | 42 | BBCLASSEXTEND = "native nativesdk" |
44 | 43 | ||
45 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/cracklib.py \ | 44 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/cracklib.py* \ |
46 | ${PYTHON_SITEPACKAGES_DIR}/_cracklib.so \ | 45 | ${PYTHON_SITEPACKAGES_DIR}/_cracklib.*" |
47 | " | 46 | |
48 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_cracklib.a \ | 47 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_cracklib.a" |
49 | ${PYTHON_SITEPACKAGES_DIR}/_cracklib.la \ | ||
50 | " | ||