diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package.bbclass | 2 | ||||
-rw-r--r-- | meta/lib/oe/package.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 8b89fb1129..e67bb5bd97 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1924,7 +1924,7 @@ python package_do_pkgconfig () { | |||
1924 | for dir in reversed(shlibs_dirs): | 1924 | for dir in reversed(shlibs_dirs): |
1925 | if not os.path.exists(dir): | 1925 | if not os.path.exists(dir): |
1926 | continue | 1926 | continue |
1927 | for file in os.listdir(dir): | 1927 | for file in sorted(os.listdir(dir)): |
1928 | m = re.match(r'^(.*)\.pclist$', file) | 1928 | m = re.match(r'^(.*)\.pclist$', file) |
1929 | if m: | 1929 | if m: |
1930 | pkg = m.group(1) | 1930 | pkg = m.group(1) |
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index b59513227b..b8585d4253 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -265,7 +265,7 @@ def read_shlib_providers(d): | |||
265 | bb.debug(2, "Reading shlib providers in %s" % (dir)) | 265 | bb.debug(2, "Reading shlib providers in %s" % (dir)) |
266 | if not os.path.exists(dir): | 266 | if not os.path.exists(dir): |
267 | continue | 267 | continue |
268 | for file in os.listdir(dir): | 268 | for file in sorted(os.listdir(dir)): |
269 | m = list_re.match(file) | 269 | m = list_re.match(file) |
270 | if m: | 270 | if m: |
271 | dep_pkg = m.group(1) | 271 | dep_pkg = m.group(1) |