diff options
| author | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:51:21 +0000 |
|---|---|---|
| committer | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:51:21 +0000 |
| commit | 719164150c82915955cddd0309577bd156da099e (patch) | |
| tree | f31c5d46ec61caf18f33edea841335cb4ab2dbc0 /numpy/core/SConscript | |
| parent | 19d51015ea71709bf94422cbecd409a8cd079998 (diff) | |
| download | numpy-719164150c82915955cddd0309577bd156da099e.tar.gz | |
Define separate compilation define in config.h as well, and use config.h early when needed.
Diffstat (limited to 'numpy/core/SConscript')
| -rw-r--r-- | numpy/core/SConscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index 461e9435f..662a06f54 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -185,6 +185,10 @@ inline = config.CheckInline() config.Define('inline', inline) numpyconfig_sym.append(('NPY_INLINE', inline)) + +if ENABLE_SEPARATE_COMPILATION: + config.Define("ENABLE_SEPARATE_COMPILATION", 1) + numpyconfig_sym.append(('NPY_ENABLE_SEPARATE_COMPILATION', 1)) #------------------------------------------------------- # Define the function PyOS_ascii_strod if not available #------------------------------------------------------- |
