Commit 2f0eb188 authored by Robert Bradshaw's avatar Robert Bradshaw

OS X doesn't actually need libm.

parent 0155274e
...@@ -38,8 +38,8 @@ Cython also provides declarations for the C math library:: ...@@ -38,8 +38,8 @@ Cython also provides declarations for the C math library::
cdef double f(double x): cdef double f(double x):
return sin(x*x) return sin(x*x)
However, this is a library that is not linked by default on Unix-like However, this is a library that is not linked by default on some Unix-like
systems, such as Linux or MacOS-X. In addition to cimporting the systems, such as Linux. In addition to cimporting the
declarations, you must configure your build system to link against the declarations, you must configure your build system to link against the
shared library ``m``. For distutils, it is enough to add it to the shared library ``m``. For distutils, it is enough to add it to the
``libraries`` parameter of the ``Extension()`` setup:: ``libraries`` parameter of the ``Extension()`` setup::
......
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