Skip to content

Commit 55c76f6

Browse files
author
Ralf Gommers
committed
BLD: fix Bento build issue with new .h.src templating.
1 parent b6fa5ca commit 55c76f6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bento.info

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ ExtraSourceFiles:
4646
numpy/core/src/multiarray/*.c.src,
4747
numpy/core/src/multiarray/*.h,
4848
numpy/core/src/private/*.h,
49+
numpy/core/src/private/*.h.src,
4950
numpy/core/src/umath/*.src,
5051
numpy/core/src/umath/*.h,
5152
numpy/core/src/umath/*.c,

bscript

+1-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,5 @@ def c_template(self, node):
105105
outs.append(node.change_ext(""))
106106

107107
tsk = self.create_task('CTemplateTask', node, outs)
108-
if "c" in self.features:
108+
if "c" in self.features and not node.name[-6:] == (".h.src"):
109109
self.source.append(outs[0])
110-
111-

0 commit comments

Comments
 (0)