diff options
author | Robert Kern <robert.kern@gmail.com> | 2005-09-28 02:54:48 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2005-09-28 02:54:48 +0000 |
commit | ca5d55a047cc444abca629d30584e7a9d68c111e (patch) | |
tree | a9248e4650bde8b9c7c5b432835688234a7e1bda /scipy/base/setup.py | |
parent | f1ba8e79d855f8d2d4e860fb1b88666350c94836 (diff) | |
download | numpy-ca5d55a047cc444abca629d30584e7a9d68c111e.tar.gz |
r3463@803638d6: kern | 2005-09-26 14:31:52 -0700
Fix for blank math library
Diffstat (limited to 'scipy/base/setup.py')
-rw-r--r-- | scipy/base/setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scipy/base/setup.py b/scipy/base/setup.py index ecd8c013b..6587ea871 100644 --- a/scipy/base/setup.py +++ b/scipy/base/setup.py @@ -74,7 +74,9 @@ def configuration(parent_package='',top_path=None): for line in target_f.readlines(): s = '#define MATHLIB' if line.startswith(s): - mathlibs.extend(line[len(s):].strip().split(',')) + value = line[len(s):].strip() + if value: + mathlibs.extend(value.split(',')) target_f.close() ext.libraries.extend(mathlibs) |