Skip to content

Commit 89b7a32

Browse files
authored
Merge branch 'MagicStack:master' into native-builds
2 parents 613099e + db8ecc2 commit 89b7a32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232

3333
if platform.uname().system != 'Windows':
3434
CFLAGS.extend(['-fsigned-char', '-Wall', '-Wsign-compare', '-Wconversion'])
35+
# Link against libm (math library) for functions like log10()
36+
LDFLAGS.extend(['-lm'])
3537

3638

3739
_ROOT = pathlib.Path(__file__).parent

0 commit comments

Comments
 (0)