summaryrefslogtreecommitdiff
path: root/scipy_distutils/absoftfcompiler.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2004-03-05 03:40:39 +0000
committerTravis Oliphant <oliphant@enthought.com>2004-03-05 03:40:39 +0000
commit4121e33d904e468fcf6c6ee76f4314dfd8a4bd22 (patch)
treed315ea1bf50a1a30e821ae2c132b326406618e4f /scipy_distutils/absoftfcompiler.py
parent144b7abfd345793c0806e3d8da9e75f2e2e89b5a (diff)
downloadnumpy-4121e33d904e468fcf6c6ee76f4314dfd8a4bd22.tar.gz
Fixes to use msvc linker on windows
Diffstat (limited to 'scipy_distutils/absoftfcompiler.py')
-rw-r--r--scipy_distutils/absoftfcompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy_distutils/absoftfcompiler.py b/scipy_distutils/absoftfcompiler.py
index f8d93cd28..15dfa9ef6 100644
--- a/scipy_distutils/absoftfcompiler.py
+++ b/scipy_distutils/absoftfcompiler.py
@@ -23,7 +23,7 @@ class AbsoftFCompiler(FCompiler):
'compiler_f77' : ["f77"],
'compiler_fix' : ["f90"],
'compiler_f90' : ["f90"],
- 'linker_so' : ["f77","-dll"],
+ 'linker_so' : ["f77","-shared"],
'archiver' : ["ar", "-cr"],
'ranlib' : ["ranlib"]
}
@@ -31,7 +31,7 @@ class AbsoftFCompiler(FCompiler):
if os.name != 'nt':
pic_flags = ['-fpic']
module_dir_switch = None
- module_include_switch = '-p '
+ module_include_switch = '-p'
def get_library_dirs(self):
opt = FCompiler.get_library_dirs(self)