From 5e050d857e548dbd68b1adae420ea17f463548c1 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 10 Feb 2009 16:23:27 +0000 Subject: [PATCH] Merged revisions 69500 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines _testcapi depends on testcapi_long.h Thanks Lisandro Dalcin. ........ --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a7fe3e4c330d..5b7aae72f25e 100644 --- a/setup.py +++ b/setup.py @@ -458,7 +458,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']) ) -- 2.47.3