diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-25 18:58:00 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-25 18:58:00 +0200 |
commit | 1a0a603ec78ebd2ca1a7e0174c8ab13e937721cb (patch) | |
tree | f4c349f85e5b392a25238e929ab15a2e5b392314 /classes | |
parent | b222ee66824906089f8e8f7da82e3ccde3c7bd13 (diff) |
package bbclass: only run ldconfig when there's a ld.so.conf present
Diffstat (limited to 'classes')
-rw-r--r-- | classes/package.bbclass | 2 |
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 } |