From 51a6c983cedeceee316a5d7b2e99f6ebca65b518 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Wed, 19 Apr 2006 16:50:17 +0000 Subject: Fix build_src inplace build for library sources. --- numpy/distutils/command/build_src.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/distutils/command/build_src.py') diff --git a/numpy/distutils/command/build_src.py b/numpy/distutils/command/build_src.py index 5b6cf5d85..08aac6aad 100644 --- a/numpy/distutils/command/build_src.py +++ b/numpy/distutils/command/build_src.py @@ -247,7 +247,7 @@ class build_src(build_ext.build_ext): func_sources.append(source) if not func_sources: return new_sources - if self.inplace: + if self.inplace and not is_sequence(extension): build_dir = self.ext_target_dir else: if is_sequence(extension): -- cgit v1.2.1