From 809a5938ff58c17e6fb6448b9c50326d1a46580c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Aradi?= Date: Fri, 19 May 2017 17:35:13 +0200 Subject: Fix case sensitivity in Fortran module names --- mesonbuild/backend/ninjabackend.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/backend') diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index e8fae8e..8ab57ea 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1722,8 +1722,8 @@ rule FORTRAN_DEP_HACK for line in f: modmatch = modre.match(line) if modmatch is not None: - modname = modmatch.group(1) - if modname.lower() == 'procedure': + modname = modmatch.group(1).lower() + if modname == 'procedure': # MODULE PROCEDURE construct continue if modname in module_files: @@ -1743,7 +1743,7 @@ rule FORTRAN_DEP_HACK for line in f: usematch = usere.match(line) if usematch is not None: - usename = usematch.group(1) + usename = usematch.group(1).lower() if usename not in tdeps: # The module is not provided by any source file. This # is due to: -- cgit v1.1