diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2013-12-08 16:16:11 +0100 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2013-12-08 16:22:55 +0100 |
commit | 55c76f67cbc8f68fc83bda48f3a7f457720a7d77 (patch) | |
tree | 9cb8b2efd82500042d33b10a29b1b7f4a64d15f5 | |
parent | b6fa5cac176e48f6976b472df2b5d6d4acfa9f11 (diff) | |
download | numpy-55c76f67cbc8f68fc83bda48f3a7f457720a7d77.tar.gz |
BLD: fix Bento build issue with new .h.src templating.
-rw-r--r-- | bento.info | 1 | ||||
-rw-r--r-- | bscript | 4 |
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, @@ -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]) - - |