mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Fix for issue9662, patch by Łukasz Langa in issue5504.
This commit is contained in:
parent
713f2aa569
commit
2decf22b95
4 changed files with 10 additions and 3 deletions
1
setup.py
1
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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue