Permalink
Browse files

build-system: also search for blas/lapack in <libdir>/atlas

  • Loading branch information...
1 parent 567c7a1 commit 71c83d75c8737b038cde6a4d4ed168c6b1a8e3c5 @strohel committed Oct 2, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 support/dist_cmd_build_prepare.py
@@ -9,6 +9,7 @@
from distutils.cmd import Command
from distutils.errors import DistutilsSetupError
import distutils.log as log
+from distutils.sysconfig import get_config_var
from glob import glob
import os
import string
@@ -58,6 +59,7 @@ def run(self):
'tokyo', # module name
['tokyo/tokyo.pyx', 'tokyo/tokyo.pxd'], # source file and deps
libraries=['cblas', 'lapack'],
+ library_dirs=[os.path.join(get_config_var('LIBDIR'), 'atlas')],
**self.ext_options
))
self.package_data['tokyo'] = '*.pxd'

0 comments on commit 71c83d7

Please sign in to comment.