diff --git a/setup.py b/setup.py index c2332822..f9fafadf 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,8 @@ if platform.uname().system != 'Windows': CFLAGS.extend(['-fsigned-char', '-Wall', '-Wsign-compare', '-Wconversion']) + # Link against libm (math library) for functions like log10() + LDFLAGS.extend(['-lm']) _ROOT = pathlib.Path(__file__).parent