diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-03-05 17:41:15 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-03-06 01:53:52 +0200 |
commit | 85796229c29898588cc1e0a80e31485e358289d5 (patch) | |
tree | f5d593d9107ef4f6a560cea4a38aad5d65353867 /mesonbuild/backend/ninjabackend.py | |
parent | c4e436348307fc6d75f712d166423df60ddcdc16 (diff) | |
download | meson-85796229c29898588cc1e0a80e31485e358289d5.zip meson-85796229c29898588cc1e0a80e31485e358289d5.tar.gz meson-85796229c29898588cc1e0a80e31485e358289d5.tar.bz2 |
Fix Fortran dep scanner for upper case file extensions. Closes #8395.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 819d478..3f58f0d 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -2537,7 +2537,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485''')) if not self.should_use_dyndeps_for_target(target): return extension = os.path.splitext(src.fname)[1][1:] - if not (extension in compilers.lang_suffixes['fortran'] or extension in compilers.lang_suffixes['cpp']): + if not (extension.lower() in compilers.lang_suffixes['fortran'] or extension in compilers.lang_suffixes['cpp']): return dep_scan_file = self.get_dep_scan_file_for(target) element.add_item('dyndep', dep_scan_file) |