summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-10 16:17:16 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-10 16:17:16 (GMT)
commitd155bbfbb28944c2825a2327baed386a38456db2 (patch)
tree192e2b5c574f095c28a36ba80950a49a04e62429
parent4015f62e39452db0aa651edcd54b00f4e80e6bb5 (diff)
downloadcpython-d155bbfbb28944c2825a2327baed386a38456db2.zip
cpython-d155bbfbb28944c2825a2327baed386a38456db2.tar.gz
cpython-d155bbfbb28944c2825a2327baed386a38456db2.tar.bz2
_testcapi depends on testcapi_long.h
Thanks Lisandro Dalcin.
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 13d0687..985779d 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']) )