projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d45688
)
Windows: fix testcase to not link libm
author
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 7 Feb 2011 22:10:24 +0000
(19:10 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Mon, 7 Feb 2011 22:10:24 +0000
(19:10 -0300)
tests/build/inline_distutils.srctree
patch
|
blob
|
history
diff --git
a/tests/build/inline_distutils.srctree
b/tests/build/inline_distutils.srctree
index 7ff3859b03b45d5d0115544166b19cf57ec707a1..155ade26e1ed01541379efa8263a7e3c6c73fb89 100644
(file)
--- a/
tests/build/inline_distutils.srctree
+++ b/
tests/build/inline_distutils.srctree
@@
-8,9
+8,14
@@
PYTHON -c "import a"
from Cython.Build.Dependencies import cythonize
from distutils.core import setup
+import sys
+if sys.platform == 'win32':
+ MATH_LIBS = []
+else:
+ MATH_LIBS = ['m']
setup(
- ext_modules = cythonize("*.pyx", aliases={'MATH_LIBS':
['m']
}),
+ ext_modules = cythonize("*.pyx", aliases={'MATH_LIBS':
MATH_LIBS
}),
)
######## my_lib.pxd ########