1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Ole Streicher <olebole@debian.org>
Date: Sat, 25 Apr 2020 17:05:36 +0200
Subject: Add multiarch dir to library search
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 476fe2b..d40c93b 100755
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,7 @@ def find_library_file(libname):
'/usr/local/lib',
'/usr/lib64',
'/usr/lib',
- '/usr/lib/x86_64-linux-gnu']
+ join('/usr/lib', os.environ.get('DEB_HOST_MULTIARCH', ''))]
compiler = ccompiler.new_compiler()
return compiler.find_library_file(lib_dirs, libname)
|