summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-02-06 23:37:23 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-02-06 23:37:23 (GMT)
commit3c044942ab7deb4d776861e3a0620ba924136e9a (patch)
tree64f1c82f881734689f05314208728f6af2a55bfe
parent8820a535c19f947b6eaea8365e084bea64c53797 (diff)
downloadcpython-3c044942ab7deb4d776861e3a0620ba924136e9a.zip
cpython-3c044942ab7deb4d776861e3a0620ba924136e9a.tar.gz
cpython-3c044942ab7deb4d776861e3a0620ba924136e9a.tar.bz2
BeOS doesn't have a libm.a, either; noted by Donn Cave
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 572e0e4..3c122e5 100644
--- a/setup.py
+++ b/setup.py
@@ -118,6 +118,8 @@ class PyBuildExt(build_ext):
platform = sys.platform
if platform[:6] =='cygwin':
platform = 'cygwin'
+ elif platform[:4] =='beos':
+ platform = 'beos'
return platform
@@ -139,7 +141,7 @@ class PyBuildExt(build_ext):
# Check for MacOS X, which doesn't need libm.a at all
math_libs = ['m']
- if platform == 'Darwin1.2':
+ if platform in ['Darwin1.2', 'beos']:
math_libs = []
# XXX Omitted modules: gl, pure, dl, SGI-specific modules