From 3c044942ab7deb4d776861e3a0620ba924136e9a Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 6 Feb 2001 23:37:23 +0000 Subject: [PATCH] BeOS doesn't have a libm.a, either; noted by Donn Cave --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 572e0e46db..3c122e5e8b 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 -- 2.50.1