summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2013-12-08 16:16:11 +0100
committerRalf Gommers <ralf.gommers@googlemail.com>2013-12-08 16:22:55 +0100
commit55c76f67cbc8f68fc83bda48f3a7f457720a7d77 (patch)
tree9cb8b2efd82500042d33b10a29b1b7f4a64d15f5
parentb6fa5cac176e48f6976b472df2b5d6d4acfa9f11 (diff)
downloadnumpy-55c76f67cbc8f68fc83bda48f3a7f457720a7d77.tar.gz
BLD: fix Bento build issue with new .h.src templating.
-rw-r--r--bento.info1
-rw-r--r--bscript4
2 files changed, 2 insertions, 3 deletions
diff --git a/bento.info b/bento.info
index ff5d49dfb..9a7c313bc 100644
--- a/bento.info
+++ b/bento.info
@@ -46,6 +46,7 @@ ExtraSourceFiles:
numpy/core/src/multiarray/*.c.src,
numpy/core/src/multiarray/*.h,
numpy/core/src/private/*.h,
+ numpy/core/src/private/*.h.src,
numpy/core/src/umath/*.src,
numpy/core/src/umath/*.h,
numpy/core/src/umath/*.c,
diff --git a/bscript b/bscript
index 983476533..12fc345b4 100644
--- a/bscript
+++ b/bscript
@@ -105,7 +105,5 @@ def c_template(self, node):
outs.append(node.change_ext(""))
tsk = self.create_task('CTemplateTask', node, outs)
- if "c" in self.features:
+ if "c" in self.features and not node.name[-6:] == (".h.src"):
self.source.append(outs[0])
-
-