summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index f955df1111..e0d6ff6701 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1731,8 +1731,6 @@ python package_do_shlibs() {
1731 else: 1731 else:
1732 snap_symlinks = False 1732 snap_symlinks = False
1733 1733
1734 use_ldconfig = bb.utils.contains('DISTRO_FEATURES', 'ldconfig', True, False, d)
1735
1736 needed = {} 1734 needed = {}
1737 1735
1738 shlib_provider = oe.package.read_shlib_providers(d) 1736 shlib_provider = oe.package.read_shlib_providers(d)
@@ -1791,7 +1789,7 @@ python package_do_shlibs() {
1791 if s[0] not in shlib_provider: 1789 if s[0] not in shlib_provider:
1792 shlib_provider[s[0]] = {} 1790 shlib_provider[s[0]] = {}
1793 shlib_provider[s[0]][s[1]] = (pkg, pkgver) 1791 shlib_provider[s[0]][s[1]] = (pkg, pkgver)
1794 if needs_ldconfig and use_ldconfig: 1792 if needs_ldconfig:
1795 bb.debug(1, 'adding ldconfig call to postinst for %s' % pkg) 1793 bb.debug(1, 'adding ldconfig call to postinst for %s' % pkg)
1796 postinst = d.getVar('pkg_postinst_%s' % pkg) 1794 postinst = d.getVar('pkg_postinst_%s' % pkg)
1797 if not postinst: 1795 if not postinst: