diff setup.py @ 51519:058dca73ee30 legacy-trunk

_testcapi depends on testcapi_long.h Thanks Lisandro Dalcin.
author Mark Dickinson <dickinsm@gmail.com>
date Tue, 10 Feb 2009 16:17:16 +0000
parents a1893c691879
children 2629c47fa6bc
line wrap: on
line diff
--- a/setup.py	Tue Feb 10 15:46:50 2009 +0000
+++ b/setup.py	Tue Feb 10 16:17:16 2009 +0000
@@ -447,7 +447,8 @@
         # _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']) )