diff options
-rw-r--r-- | numpy/core/bscript | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/numpy/core/bscript b/numpy/core/bscript index 93783cdea..ff05ca825 100644 --- a/numpy/core/bscript +++ b/numpy/core/bscript @@ -442,11 +442,12 @@ def pbuild(context): use="npymath") context.register_builder("multiarray_tests", build_multiarray_tests) - if bld.env.HAS_CBLAS: - bld(features="c cshlib pyext", - target="_dotblas", - source="blasdot/_dotblas.c", - includes="src/private", - use="CBLAS") + def build_dotblas(bld, extension): + if bld.env.HAS_CBLAS: + bld(features="c cshlib pyext", + target=extension.name, + source=extension.sources, + use="CBLAS") + context.register_builder("_dotblas", build_dotblas) bld.path = old_path |