summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/lib/SConscript1
-rw-r--r--numpy/numarray/SConscript3
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/SConscript b/numpy/lib/SConscript
index 9123a82ec..2d1ed5576 100644
--- a/numpy/lib/SConscript
+++ b/numpy/lib/SConscript
@@ -3,4 +3,5 @@
from numscons import GetNumpyEnvironment
env = GetNumpyEnvironment(ARGUMENTS)
+env.Prepend(CPPPATH=["#$build_prefix/numpy/core/src/private"])
env.NumpyPythonExtension('_compiled_base', source = ['src/_compiled_base.c'])
diff --git a/numpy/numarray/SConscript b/numpy/numarray/SConscript
index 974ea1961..f2d18a400 100644
--- a/numpy/numarray/SConscript
+++ b/numpy/numarray/SConscript
@@ -3,6 +3,5 @@
from numscons import GetNumpyEnvironment
env = GetNumpyEnvironment(ARGUMENTS)
-env.Append(CPPPATH = ['numpy'])
-
+env.Prepend(CPPPATH=['numpy', "#$build_prefix/numpy/core/src/private"])
env.NumpyPythonExtension('_capi', source = ['_capi.c'])