summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-11-16 06:19:41 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-11-16 06:19:41 +0000
commited56288c82c237c34147afe4300437812d5cca97 (patch)
tree070ddc3e3729eb4e6ca779215d2fe3375c6d3d2b /numpy/distutils/command/build_ext.py
parentde2d49530f44c863e89d1d9ed6ecd84a2b724980 (diff)
downloadnumpy-ed56288c82c237c34147afe4300437812d5cca97.tar.gz
BUG: retrieve build_clib in build_ext even if it has already been run.
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r--numpy/distutils/command/build_ext.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index 4d11d033d..be036ace4 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -61,6 +61,7 @@ class build_ext (old_build_ext):
if self.distribution.have_run.get('build_clib'):
log.warn('build_clib already run, it is too late to ' \
'ensure in-place build of build_clib')
+ build_clib = self.distribution.get_command_obj('build_clib')
else:
build_clib = self.distribution.get_command_obj('build_clib')
build_clib.inplace = 1