summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 4ca34a3d05..e7cf98edd8 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -486,6 +486,8 @@ python package_do_pkgconfig () {
f.close()
for dir in [old_shlibs_dir, shlibs_dir]:
+ if not os.path.exists(dir):
+ continue
for file in os.listdir(dir):
m = re.match('^(.*)\.pclist$', file)
if m: