Browse files

FIX: add ufsparse to the libraries search path.

Fixes a build failure on macports when it detected umfpack but was
unable to build the extension module. Equivalent to the
'/usr/include/suitesparse' path under Debian.
  • Loading branch information...
1 parent f73ced2 commit d91521e5fd858726998146e6055f677cc3aeb011 @fabianp fabianp committed with rgommers Aug 28, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 numpy/distutils/
@@ -193,6 +193,8 @@ def libpaths(paths,bits):
'/opt/local/lib','/sw/lib'], platform_bits)
default_include_dirs = ['/usr/local/include',
'/opt/include', '/usr/include',
+ # path of umfpack under macports
+ '/opt/local/include/ufsparse',
'/opt/local/include', '/sw/include',
default_src_dirs = ['.','/usr/local/src', '/opt/src','/sw/src']

0 comments on commit d91521e

Please sign in to comment.