Skip to content

Commit

Permalink
link against m.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed Sep 21, 2017
1 parent 50756db commit f98a915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ 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",
"pmesh/gsl/gsl_inline.h", "pmesh/gsl/gsl_rng.h",
"pmesh/gsl/gsl_types.h",
"pmesh/_whitenoise_imp.h", "pmesh/_whitenoise_generics.h"
],
libraries = ['m'],
include_dirs=["pmesh/gsl", "pmesh", numpy.get_include()])
]

Expand Down

0 comments on commit f98a915

Please sign in to comment.