aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-08-03 20:37:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-08-03 20:37:03 +0300
commit5303b1d0f499118c9dda82309fb23652511acb10 (patch)
tree28ce105acc35ec964f711e926a614657b6f3c0b2 /environment.py
parent8cac567ceddb15722aa10910f401f5c66bf6fac9 (diff)
downloadmeson-5303b1d0f499118c9dda82309fb23652511acb10.zip
meson-5303b1d0f499118c9dda82309fb23652511acb10.tar.gz
meson-5303b1d0f499118c9dda82309fb23652511acb10.tar.bz2
Scan Fortran dependencies, but it fails currently due to a deficiency in Ninja.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/environment.py b/environment.py
index c5b51f6..1292577 100644
--- a/environment.py
+++ b/environment.py
@@ -1152,7 +1152,7 @@ end program prog
cmdlist = self.exe_wrapper + [binary_name]
else:
cmdlist = [binary_name]
- pe = subprocess.Popen(cmdlist)
+ pe = subprocess.Popen(cmdlist, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
pe.wait()
if pe.returncode != 0:
raise EnvironmentException('Executables created by Fortran compiler %s are not runnable.' % self.name_string())
@@ -1211,6 +1211,8 @@ end program prog
def build_rpath_args(self, build_dir, rpath_paths, install_rpath):
return build_unix_rpath_args(build_dir, rpath_paths, install_rpath)
+ def module_name_to_filename(self, module_name):
+ return module_name.lower() + '.mod'
class VisualStudioLinker():
always_args = ['/NOLOGO']