diff options
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index 88a00a49a8..f144273c19 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -84,6 +84,16 @@ do_install_append () { | |||
84 | if [ -e "${D}${infodir}/dir" ]; then | 84 | if [ -e "${D}${infodir}/dir" ]; then |
85 | rm -f ${D}${infodir}/dir | 85 | rm -f ${D}${infodir}/dir |
86 | fi | 86 | fi |
87 | |||
88 | if [ "${USE_LDCONFIG}" != "1" ]; then | ||
89 | # We won't ship this file (see FILES above) so let's not install it | ||
90 | rm -f ${D}${sysconfdir}/ld.so.conf | ||
91 | # This directory will be empty now so remove it too. | ||
92 | # But check whether it exists first, since it won't for eglibc-initial. | ||
93 | if [ -d ${D}${sysconfdir} ]; then | ||
94 | rmdir ${D}${sysconfdir} | ||
95 | fi | ||
96 | fi | ||
87 | } | 97 | } |
88 | 98 | ||
89 | do_install_locale () { | 99 | do_install_locale () { |