Skip to content
Snippets Groups Projects
Commit 690aaf1d authored by Claire Revillet's avatar Claire Revillet Committed by Gael Varoquaux
Browse files

- fix missing links to the C math libray

parent 8a354dd3
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@ def configuration(parent_package="", top_path=None):
config = Configuration("tree", parent_package, top_path)
config.add_extension("_tree",
sources=["_tree.c"],
include_dirs=[numpy.get_include()])
include_dirs=[numpy.get_include()],
libraries=['m'])
config.add_subpackage("tests")
......
......@@ -23,7 +23,8 @@ def configuration(parent_package='', top_path=None):
sources=['arraybuilder.c'])
config.add_extension('sparsefuncs',
sources=['sparsefuncs.c'])
sources=['sparsefuncs.c'],
libraries=['m'])
config.add_extension('arrayfuncs',
sources=['arrayfuncs.c'],
......@@ -51,7 +52,8 @@ def configuration(parent_package='', top_path=None):
config.add_extension('weight_vector',
sources=['weight_vector.c'],
include_dirs=[numpy.get_include()])
include_dirs=[numpy.get_include()],
libraries=['m'])
return config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment