From ebd770a34e4d2e9326eca18e5a45c14ab75c56f0 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Thu, 12 Mar 2009 16:34:36 +0000 Subject: Back out VS 2003 hack - it is too fragile. --- numpy/distutils/command/build_ext.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'numpy/distutils/command/build_ext.py') diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 6787c0b30..c47357808 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -388,10 +388,7 @@ class build_ext (old_build_ext): # expand libraries with fcompiler libraries as we are # not using fcompiler linker self._libs_with_msvc_and_fortran(fcompiler, libraries, library_dirs) - if fcompiler is not None and fcompiler.compiler_type == "gnu95": - if msvc_version(self.compiler) < 8: - self._add_dummy_mingwex_sym(c_sources) - libraries.append("_gfortran_workaround") + elif ext.language in ['f77','f90'] and fcompiler is not None: linker = fcompiler.link_shared_object if ext.language=='c++' and cxx_compiler is not None: -- cgit v1.2.1