diff options
author | David Cournapeau <cournape@gmail.com> | 2009-06-07 10:31:33 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-06-07 10:31:33 +0000 |
commit | dfefd500e0975b4bb7211789ee32237f29b60756 (patch) | |
tree | 409263062fd6b10fdbca21c27aa50da6d8532479 /numpy/distutils/command/build_clib.py | |
parent | d924b3e48d93fe92ea7a308920a7544c6aa6d9ec (diff) | |
download | numpy-dfefd500e0975b4bb7211789ee32237f29b60756.tar.gz |
Make sure to always call build_src before build_clib.
Diffstat (limited to 'numpy/distutils/command/build_clib.py')
-rw-r--r-- | numpy/distutils/command/build_clib.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_clib.py b/numpy/distutils/command/build_clib.py index 92498132d..9f6be52eb 100644 --- a/numpy/distutils/command/build_clib.py +++ b/numpy/distutils/command/build_clib.py @@ -52,9 +52,11 @@ class build_clib(old_build_clib): # Make sure that library sources are complete. languages = [] + + # Make sure that extension sources are complete. + self.run_command('build_src') + for (lib_name, build_info) in self.libraries: - if not all_strings(build_info.get('sources',[])): - self.run_command('build_src') l = build_info.get('language',None) if l and l not in languages: languages.append(l) |