diff options
| -rw-r--r-- | meta/classes/package.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 04ea9e384f..8d22d0fa8f 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -761,8 +761,6 @@ python package_do_shlibs() { | |||
| 761 | postinst += bb.data.getVar('ldconfig_postinst_fragment', d, True) | 761 | postinst += bb.data.getVar('ldconfig_postinst_fragment', d, True) |
| 762 | bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d) | 762 | bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d) |
| 763 | 763 | ||
| 764 | bb.utils.unlockfile(lf) | ||
| 765 | |||
| 766 | list_re = re.compile('^(.*)\.list$') | 764 | list_re = re.compile('^(.*)\.list$') |
| 767 | for dir in [shlibs_dir]: | 765 | for dir in [shlibs_dir]: |
| 768 | if not os.path.exists(dir): | 766 | if not os.path.exists(dir): |
| @@ -783,6 +781,8 @@ python package_do_shlibs() { | |||
| 783 | for l in lines: | 781 | for l in lines: |
| 784 | shlib_provider[l.rstrip()] = (dep_pkg, lib_ver) | 782 | shlib_provider[l.rstrip()] = (dep_pkg, lib_ver) |
| 785 | 783 | ||
| 784 | bb.utils.unlockfile(lf) | ||
| 785 | |||
| 786 | assumed_libs = bb.data.getVar('ASSUME_SHLIBS', d, True) | 786 | assumed_libs = bb.data.getVar('ASSUME_SHLIBS', d, True) |
| 787 | if assumed_libs: | 787 | if assumed_libs: |
| 788 | for e in assumed_libs.split(): | 788 | for e in assumed_libs.split(): |
