Kaydet (Commit) d155bbfb authored tarafından Mark Dickinson's avatar Mark Dickinson

_testcapi depends on testcapi_long.h

Thanks Lisandro Dalcin.
üst 4015f62e
...@@ -447,7 +447,8 @@ class PyBuildExt(build_ext): ...@@ -447,7 +447,8 @@ class PyBuildExt(build_ext):
# _json speedups # _json speedups
exts.append( Extension("_json", ["_json.c"]) ) exts.append( Extension("_json", ["_json.c"]) )
# Python C API test module # Python C API test module
exts.append( Extension('_testcapi', ['_testcapimodule.c']) ) exts.append( Extension('_testcapi', ['_testcapimodule.c'],
depends=['testcapi_long.h']) )
# profilers (_lsprof is for cProfile.py) # profilers (_lsprof is for cProfile.py)
exts.append( Extension('_hotshot', ['_hotshot.c']) ) exts.append( Extension('_hotshot', ['_hotshot.c']) )
exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) ) exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment