]> granicus.if.org Git - python/commitdiff
Merged revisions 76865 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Thu, 17 Dec 2009 08:35:56 +0000 (08:35 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 17 Dec 2009 08:35:56 +0000 (08:35 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76865 | mark.dickinson | 2009-12-17 08:33:56 +0000 (Thu, 17 Dec 2009) | 1 line

  Add _math.h to math module dependencies in setup.py.
........

setup.py

index 3666e8fbb743892a3b7639209f1f7305e73c55ac..c2c0af1941cf1e5b57c67f6c9ee45fb869869ca0 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -399,6 +399,7 @@ class PyBuildExt(build_ext):
 
         # math library functions, e.g. sin()
         exts.append( Extension('math',  ['mathmodule.c', '_math.c'],
+                               depends=['_math.h'],
                                libraries=math_libs) )
         # time operations and variables
         exts.append( Extension('time', ['timemodule.c'],