diff setup.py @ 57866:9751ddcc1882

Merged revisions 76978 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines Issue #7518: Move substitute definitions of C99 math functions from pymath.c to Modules/_math.c. ........
author Mark Dickinson <dickinsm@gmail.com>
date Mon, 21 Dec 2009 15:27:41 +0000
parents b1896620c296
children fb671df0f5cc
line wrap: on
line diff
--- a/setup.py	Mon Dec 21 12:50:02 2009 +0000
+++ b/setup.py	Mon Dec 21 15:27:41 2009 +0000
@@ -394,9 +394,9 @@
         # array objects
         exts.append( Extension('array', ['arraymodule.c']) )
         # complex math library functions
-        exts.append( Extension('cmath', ['cmathmodule.c'],
+        exts.append( Extension('cmath', ['cmathmodule.c', '_math.c'],
+                               depends=['_math.h'],
                                libraries=math_libs) )
-
         # math library functions, e.g. sin()
         exts.append( Extension('math',  ['mathmodule.c', '_math.c'],
                                depends=['_math.h'],