summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/package.oeclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package.oeclass b/classes/package.oeclass
index 207269f80b..03228188ed 100644
--- a/classes/package.oeclass
+++ b/classes/package.oeclass
@@ -431,6 +431,8 @@ python package_do_pkgconfig () {
name = m.group(1)
pkgconfig_provided[pkg].append(name)
path = os.path.join(root, file)
+ if not os.access(path, os.R_OK):
+ continue
f = open(path, 'r')
lines = f.readlines()
f.close()