_testcapi depends on testcapi_long.h

Thanks Lisandro Dalcin.
This commit is contained in:
Mark Dickinson 2009-02-10 16:17:16 +00:00
parent 4015f62e39
commit d155bbfbb2

View file

@ -447,7 +447,8 @@ class PyBuildExt(build_ext):
# _json speedups
exts.append( Extension("_json", ["_json.c"]) )
# 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)
exts.append( Extension('_hotshot', ['_hotshot.c']) )
exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )