summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_clib.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/build_clib.py')
-rw-r--r--numpy/distutils/command/build_clib.py6
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)