Mercurial > cpython-lru_cache-weakref
diff setup.py @ 16471:ab02bc6a5ab2 legacy-trunk
BeOS doesn't have a libm.a, either; noted by Donn Cave
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Tue, 06 Feb 2001 23:37:23 +0000 |
| parents | ed4338c7e8a4 |
| children | 4db0fddb6917 |
line wrap: on
line diff
--- a/setup.py Tue Feb 06 22:58:05 2001 +0000 +++ b/setup.py Tue Feb 06 23:37:23 2001 +0000 @@ -118,6 +118,8 @@ platform = sys.platform if platform[:6] =='cygwin': platform = 'cygwin' + elif platform[:4] =='beos': + platform = 'beos' return platform @@ -139,7 +141,7 @@ # 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
