]> granicus.if.org Git - python/commitdiff
Merged revisions 69500 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 16:18:22 +0000 (16:18 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 10 Feb 2009 16:18:22 +0000 (16:18 +0000)
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

index 4599927a5859645cc63084be9710f76be66053e6..58f7e8c2390a7aec6c3c52d3e464c556a4307e30 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -433,7 +433,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']) )
         # profiler (_lsprof is for cProfile.py)
         exts.append( Extension('_lsprof', ['_lsprof.c', 'rotatingtree.c']) )
         # static Unicode character database