summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index faa0ab2edb..02642f29f0 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -114,7 +114,12 @@ def read_shlib_providers(d):
114 m = list_re.match(file) 114 m = list_re.match(file)
115 if m: 115 if m:
116 dep_pkg = m.group(1) 116 dep_pkg = m.group(1)
117 fd = open(os.path.join(dir, file)) 117 try:
118 fd = open(os.path.join(dir, file))
119 except IOError:
120 # During a build unrelated shlib files may be deleted, so
121 # handle files disappearing between the listdirs and open.
122 continue
118 lines = fd.readlines() 123 lines = fd.readlines()
119 fd.close() 124 fd.close()
120 for l in lines: 125 for l in lines: