From f98a915cca0a3dc7383be96d2d42e8a42574e725 Mon Sep 17 00:00:00 2001 From: Yu Feng Date: Thu, 21 Sep 2017 12:34:19 -0700 Subject: [PATCH] link against m. --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 25414af..a08e83e 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ def find_version(path): "pmesh/_window_generics.h", "pmesh/_window_wavelets.h", "pmesh/_window_lanczos.h"], + libraries = ['m'], include_dirs=["./", numpy.get_include()]), Extension("pmesh._whitenoise", ["pmesh/gsl/ranlxd.c", "pmesh/gsl/missing.c", "pmesh/gsl/rng.c", "pmesh/_whitenoise_imp.c", "pmesh/_whitenoise.pyx"], depends=["pmesh/gsl/config.h", "pmesh/gsl/gsl_errno.h", @@ -31,6 +32,7 @@ def find_version(path): "pmesh/gsl/gsl_types.h", "pmesh/_whitenoise_imp.h", "pmesh/_whitenoise_generics.h" ], + libraries = ['m'], include_dirs=["pmesh/gsl", "pmesh", numpy.get_include()]) ]