Commit 3bf09ae8 authored by Lisandro Dalcin's avatar Lisandro Dalcin

Windows: fix testcase to not link libm

parent 9d45688c
...@@ -8,9 +8,14 @@ PYTHON -c "import a" ...@@ -8,9 +8,14 @@ PYTHON -c "import a"
from Cython.Build.Dependencies import cythonize from Cython.Build.Dependencies import cythonize
from distutils.core import setup from distutils.core import setup
import sys
if sys.platform == 'win32':
MATH_LIBS = []
else:
MATH_LIBS = ['m']
setup( setup(
ext_modules = cythonize("*.pyx", aliases={'MATH_LIBS': ['m']}), ext_modules = cythonize("*.pyx", aliases={'MATH_LIBS': MATH_LIBS}),
) )
######## my_lib.pxd ######## ######## my_lib.pxd ########
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment