From ab606d34173c80606bb152068979809af42fd56f Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Thu, 19 Feb 2009 10:49:34 +0000 Subject: Support library_dirs in check_type. --- numpy/distutils/command/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py index 76ba1c740..03249e968 100644 --- a/numpy/distutils/command/config.py +++ b/numpy/distutils/command/config.py @@ -165,7 +165,7 @@ int main() return self.try_compile(body, headers, include_dirs) - def check_type_size(self, type_name, headers=None, include_dirs=None): + def check_type_size(self, type_name, headers=None, include_dirs=None, library_dirs=None): """Check size of a given type.""" # XXX: should also implement the cross-compiling version (using binary # search + array indexing, see AC_CHECK_SIZEOF). @@ -211,7 +211,7 @@ main (void) size = None try: src, obj, exe = self._link(body, headers, include_dirs, - [], [], 'c') + [], library_dirs, 'c') #exe = os.path.join('.', exe) exitstatus, output = exec_command(exe, execute_in='.') if hasattr(os, 'WEXITSTATUS'): -- cgit v1.2.1