diff options
| author | Michael Williamson <mike@zwobble.org> | 2020-05-14 08:24:23 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2020-05-14 08:24:23 +0100 |
| commit | 6df17aa0fe3704867787761156f98642b6f86c29 (patch) | |
| tree | bf28491944d724e3914ff9f40cc8f53b8cbda776 /setup.py | |
| parent | cc804c7056bec27c7934c269f76dff7616fcea1e (diff) | |
Pass -lm to compiler when building extension
This attempts to address the manylinux wheels not working on some
distributions such as Ubuntu 16.04 due to the removal of the symbol
scalbln ( double x, int n ) @@ GLIBC_2.2.5
Original user report: https://github.com/mwilliamson/jq.py/issues/43
Further discussion: https://github.com/joerick/cibuildwheel/issues/343
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -104,6 +104,7 @@ jq_extension = Extension( "jq", sources=["jq.c"], include_dirs=[os.path.join(jq_lib_dir, "src")], + extra_link_args=["-lm"], extra_objects=[ os.path.join(jq_lib_dir, ".libs/libjq.a"), os.path.join(oniguruma_lib_install_dir, "lib/libonig.a"), |
