From dfefd500e0975b4bb7211789ee32237f29b60756 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Sun, 7 Jun 2009 10:31:33 +0000 Subject: Make sure to always call build_src before build_clib. --- numpy/distutils/command/build_clib.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'numpy/distutils/command/build_clib.py') 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) -- cgit v1.2.1