mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 15:22:50 +00:00
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
diff -Naur Python-3.5.2.orig/setup.py Python-3.5.2/setup.py
|
|
--- Python-3.5.2.orig/setup.py 2016-08-26 14:18:13.959050012 +0300
|
|
+++ Python-3.5.2/setup.py 2016-08-26 14:19:17.015897822 +0300
|
|
@@ -616,7 +616,7 @@
|
|
libraries=math_libs) )
|
|
|
|
# time libraries: librt may be needed for clock_gettime()
|
|
- time_libs = []
|
|
+ time_libs = ['m']
|
|
lib = sysconfig.get_config_var('TIMEMODULE_LIB')
|
|
if lib:
|
|
time_libs.append(lib)
|
|
@@ -1975,7 +1975,7 @@
|
|
include_dirs=include_dirs,
|
|
extra_compile_args=extra_compile_args,
|
|
extra_link_args=extra_link_args,
|
|
- libraries=[],
|
|
+ libraries=['m', 'dl'],
|
|
sources=sources,
|
|
depends=depends)
|
|
# function my_sqrt() needs math library for sqrt()
|
|
@@ -2031,7 +2031,7 @@
|
|
'Modules',
|
|
'_decimal',
|
|
'libmpdec'))]
|
|
- libraries = []
|
|
+ libraries = ['m']
|
|
sources = [
|
|
'_decimal/_decimal.c',
|
|
'_decimal/libmpdec/basearith.c',
|