forked from avokhmin/python3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-3.1.2-module-linkage.patch
More file actions
24 lines (22 loc) · 1.04 KB
/
python-3.1.2-module-linkage.patch
File metadata and controls
24 lines (22 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- setup.py.link 2010-01-01 17:29:51.000000000 +0100
+++ setup.py 2010-10-31 17:33:25.000000000 +0100
@@ -489,7 +489,7 @@
# Operations on audio samples
# According to #993173, this one should actually work fine on
# 64-bit platforms.
- exts.append( Extension('audioop', ['audioop.c']) )
+ exts.append( Extension('audioop', ['audioop.c'], libraries=math_libs) )
# readline
do_readline = self.compiler.find_library_file(lib_dirs, 'readline')
@@ -1542,10 +1542,11 @@
include_dirs=include_dirs,
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
- libraries=[],
+ libraries=['m', 'dl'],
sources=sources,
depends=depends)
ext_test = Extension('_ctypes_test',
+ libraries=['m'],
sources=['_ctypes/_ctypes_test.c'])
self.extensions.extend([ext, ext_test])