aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-package.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc10
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 () {
if [ -e "${D}${infodir}/dir" ]; then
rm -f ${D}${infodir}/dir
fi
+
+ if [ "${USE_LDCONFIG}" != "1" ]; then
+ # We won't ship this file (see FILES above) so let's not install it
+ rm -f ${D}${sysconfdir}/ld.so.conf
+ # This directory will be empty now so remove it too.
+ # But check whether it exists first, since it won't for eglibc-initial.
+ if [ -d ${D}${sysconfdir} ]; then
+ rmdir ${D}${sysconfdir}
+ fi
+ fi
}
do_install_locale () {