c96bb64de26d2a46d8ce2f851659faceeb0daf05
[AGL/meta-agl-devel.git] /
1 From 9729175ae0ee7b2c8641483b9dfd16051cc4ad23 Mon Sep 17 00:00:00 2001
2 From: Greg Anders <greg@gpanders.com>
3 Date: Mon, 2 Mar 2020 14:34:04 +0000
4 Subject: [PATCH] Disable runtime_lib_dirs for cross compile
5
6 ---
7  numpy/distutils/system_info.py | 5 +----
8  1 file changed, 1 insertion(+), 4 deletions(-)
9
10 diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
11 index 28c7b92..d1a92ab 100644
12 --- a/numpy/distutils/system_info.py
13 +++ b/numpy/distutils/system_info.py
14 @@ -669,10 +669,7 @@ class system_info(object):
15          return self.get_paths(self.section, key)
16  
17      def get_runtime_lib_dirs(self, key='runtime_library_dirs'):
18 -        path = self.get_paths(self.section, key)
19 -        if path == ['']:
20 -            path = []
21 -        return path
22 +        return []
23  
24      def get_include_dirs(self, key='include_dirs'):
25          return self.get_paths(self.section, key)