summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-09-05 18:25:59 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-09-05 18:25:59 (GMT)
commit2decf22b9549a4034dc17006bd158870d22c3851 (patch)
tree5a1600b523be17a2241a0ef4ffb947843ffcd52e /setup.py
parent713f2aa569c39aa72c18bd915ef21d16c1a9927c (diff)
downloadcpython-2decf22b9549a4034dc17006bd158870d22c3851.zip
cpython-2decf22b9549a4034dc17006bd158870d22c3851.tar.gz
cpython-2decf22b9549a4034dc17006bd158870d22c3851.tar.bz2
Fix for issue9662, patch by Ɓukasz Langa in issue5504.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 542b928..2b5d4cb 100644
--- a/setup.py
+++ b/setup.py
@@ -1657,6 +1657,7 @@ class PyBuildExt(build_ext):
depends = ['_ctypes/ctypes.h']
if sys.platform == 'darwin':
+ sources.append('_ctypes/malloc_closure.c')
sources.append('_ctypes/darwin/dlfcn_simple.c')
extra_compile_args.append('-DMACOSX')
include_dirs.append('_ctypes/darwin')