]> granicus.if.org Git - python/commitdiff
BeOS doesn't have a libm.a, either; noted by Donn Cave
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 6 Feb 2001 23:37:23 +0000 (23:37 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 6 Feb 2001 23:37:23 +0000 (23:37 +0000)
setup.py

index 572e0e46db15ae126cdc5bad18d5c5d3e952df69..3c122e5e8bb85fff8b76f59f4e5e78245d5a489d 100644 (file)
--- 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