From: Mark Dickinson Date: Tue, 10 Feb 2009 16:17:16 +0000 (+0000) Subject: _testcapi depends on testcapi_long.h X-Git-Tag: v2.7a1~2056 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d155bbfbb28944c2825a2327baed386a38456db2;p=python _testcapi depends on testcapi_long.h Thanks Lisandro Dalcin. --- diff --git a/setup.py b/setup.py index 13d0687f67..985779dea3 100644 --- a/setup.py +++ b/setup.py @@ -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']) )