summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-python/python3-numpy/python3-numpy/0001-Disable-runtimelibdirs-for-cross-compile.patch
blob: c96bb64de26d2a46d8ce2f851659faceeb0daf05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 9729175ae0ee7b2c8641483b9dfd16051cc4ad23 Mon Sep 17 00:00:00 2001
From: Greg Anders <greg@gpanders.com>
Date: Mon, 2 Mar 2020 14:34:04 +0000
Subject: [PATCH] Disable runtime_lib_dirs for cross compile

---
 numpy/distutils/system_info.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 28c7b92..d1a92ab 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -669,10 +669,7 @@ class system_info(object):
         return self.get_paths(self.section, key)
 
     def get_runtime_lib_dirs(self, key='runtime_library_dirs'):
-        path = self.get_paths(self.section, key)
-        if path == ['']:
-            path = []
-        return path
+        return []
 
     def get_include_dirs(self, key='include_dirs'):
         return self.get_paths(self.section, key)