Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c04494

Browse files
committed
BeOS doesn't have a libm.a, either; noted by Donn Cave
1 parent 8820a53 commit 3c04494

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def get_platform (self):
118118
platform = sys.platform
119119
if platform[:6] =='cygwin':
120120
platform = 'cygwin'
121+
elif platform[:4] =='beos':
122+
platform = 'beos'
121123

122124
return platform
123125

@@ -139,7 +141,7 @@ def detect_modules(self):
139141

140142
# Check for MacOS X, which doesn't need libm.a at all
141143
math_libs = ['m']
142-
if platform == 'Darwin1.2':
144+
if platform in ['Darwin1.2', 'beos']:
143145
math_libs = []
144146

145147
# XXX Omitted modules: gl, pure, dl, SGI-specific modules

0 commit comments

Comments
 (0)