mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Merged revisions 68874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68874 | jesse.noller | 2009-01-23 08:04:41 -0600 (Fri, 23 Jan 2009) | 1 line Issue 3807: multiprocessing fails to compile under --without-threads ........
This commit is contained in:
parent
b453f0babb
commit
e68892ddf4
2 changed files with 11 additions and 3 deletions
10
setup.py
10
setup.py
|
@ -1325,9 +1325,13 @@ class PyBuildExt(build_ext):
|
|||
if macros.get('HAVE_SEM_OPEN', False):
|
||||
multiprocessing_srcs.append('_multiprocessing/semaphore.c')
|
||||
|
||||
exts.append ( Extension('_multiprocessing', multiprocessing_srcs,
|
||||
define_macros=macros.items(),
|
||||
include_dirs=["Modules/_multiprocessing"]))
|
||||
if sysconfig.get_config_var('WITH_THREAD'):
|
||||
exts.append ( Extension('_multiprocessing', multiprocessing_srcs,
|
||||
define_macros=macros.items(),
|
||||
include_dirs=["Modules/_multiprocessing"]))
|
||||
else:
|
||||
missing.append('_multiprocessing')
|
||||
|
||||
# End multiprocessing
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue