diff options
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py index 7aa06f04b8..1bc10954ba 100644 --- a/methods.py +++ b/methods.py @@ -13,7 +13,7 @@ def add_source_files(self, sources, filetype, lib_env=None, shared=False): if isbasestring(filetype): dir_path = self.Dir('.').abspath - filetype = glob.glob(dir_path + "/" + filetype) + filetype = sorted(glob.glob(dir_path + "/" + filetype)) for path in filetype: sources.append(self.Object(path)) |