diff options
author | David Cournapeau <cournape@gmail.com> | 2007-12-22 09:21:25 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2007-12-22 09:21:25 +0000 |
commit | 9964880dbb4cf382142e5a4c176142ea81fc0356 (patch) | |
tree | bdd6497637089f53e53629bea426c0b354229647 /numpy/distutils/misc_util.py | |
parent | b1729a124f68652ff57beff8f71ab71efbec2f10 (diff) | |
download | numpy-9964880dbb4cf382142e5a4c176142ea81fc0356.tar.gz |
Get MATHLIB from numpyconfig.h, not from config.h anymore
Diffstat (limited to 'numpy/distutils/misc_util.py')
-rw-r--r-- | numpy/distutils/misc_util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py index 79fdd46ec..9777d14b2 100644 --- a/numpy/distutils/misc_util.py +++ b/numpy/distutils/misc_util.py @@ -112,11 +112,11 @@ def njoin(*path): return minrelpath(joined) def get_mathlibs(path=None): - """Return the MATHLIB line from config.h + """Return the MATHLIB line from numpyconfig.h """ if path is None: path = os.path.join(get_numpy_include_dirs()[0], 'numpy') - config_file = os.path.join(path,'config.h') + config_file = os.path.join(path,'numpyconfig.h') fid = open(config_file) mathlibs = [] s = '#define MATHLIB' |