summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-25 18:58:00 +0200
committerKoen Kooi <koen@openembedded.org>2008-10-25 18:58:00 +0200
commit1a0a603ec78ebd2ca1a7e0174c8ab13e937721cb (patch)
treef4c349f85e5b392a25238e929ab15a2e5b392314 /classes/package.bbclass
parentb222ee66824906089f8e8f7da82e3ccde3c7bd13 (diff)
package bbclass: only run ldconfig when there's a ld.so.conf present
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index fd72a6dc6e..1dc26fdc54 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -558,7 +558,7 @@ emit_pkgdata[dirs] = "${PKGDATA_DIR}/runtime"
ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
- [ -x /sbin/ldconfig ] && /sbin/ldconfig
+ [ -x /sbin/ldconfig ] && [ -e /etc/ld.so.conf ] && /sbin/ldconfig
fi
}