summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/compaq.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-21 00:27:10 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-21 00:27:10 +0000
commit1e40d58f9f15217dc84331f2c827225dab229afb (patch)
tree80480011cb3ffb4fee976c7507b40d214da2b31f /numpy/distutils/fcompiler/compaq.py
parentb8e7cedee377403b6de2a0081d73bad7a090f951 (diff)
downloadnumpy-1e40d58f9f15217dc84331f2c827225dab229afb.tar.gz
Eliminate more warnings and add fixes from #149 and #150
Diffstat (limited to 'numpy/distutils/fcompiler/compaq.py')
-rw-r--r--numpy/distutils/fcompiler/compaq.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py
index ba950e901..c2897f5ca 100644
--- a/numpy/distutils/fcompiler/compaq.py
+++ b/numpy/distutils/fcompiler/compaq.py
@@ -63,7 +63,9 @@ class CompaqVisualFCompiler(FCompiler):
fc_exe = 'DF'
if sys.platform=='win32':
from distutils.msvccompiler import MSVCCompiler
- ar_exe = MSVCCompiler().lib
+ m = MSVCCompiler()
+ m.initialize()
+ ar_exe = m.lib
executables = {
'version_cmd' : ['DF', "/what"],