diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-11-22 08:05:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 08:05:36 (GMT) |
commit | 133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3 (patch) | |
tree | f4b3ab2e174e41aaee327157e377b519c6cdc1a5 /setup.py | |
parent | db2277a114463d30a58d9066f2b47f7a53a1488c (diff) | |
download | cpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.zip cpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.tar.gz cpython-133c65a870e8bdcce7cd6a2bc6bd0cefbb2fa9f3.tar.bz2 |
bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE (GH-29688)
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -984,18 +984,16 @@ class PyBuildExt(build_ext): # # array objects - self.add(Extension('array', ['arraymodule.c'])) + self.addext(Extension('array', ['arraymodule.c'])) # Context Variables - self.add(Extension('_contextvars', ['_contextvarsmodule.c'])) + self.addext(Extension('_contextvars', ['_contextvarsmodule.c'])) # math library functions, e.g. sin() - self.add(Extension('math', ['mathmodule.c'], - libraries=['m'])) + self.addext(Extension('math', ['mathmodule.c'])) # complex math library functions - self.add(Extension('cmath', ['cmathmodule.c'], - libraries=['m'])) + self.addext(Extension('cmath', ['cmathmodule.c'])) # time libraries: librt may be needed for clock_gettime() time_libs = [] |