From 7b6df40c2bf42ca14b59c389c89b13207bfc3cf1 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Sun, 26 Aug 2018 17:10:08 +0100
Subject: [PATCH 14/26] Fix cross-compilation on Debian-based distros

---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 021d5d142e..59d412da8f 100644
--- a/setup.py
+++ b/setup.py
@@ -654,7 +654,8 @@ class PyBuildExt(build_ext):
         # only change this for cross builds for 3.3, issues on Mageia
         if CROSS_COMPILING:
             self.add_cross_compiling_paths()
-        self.add_multiarch_paths()
+        else:
+            self.add_multiarch_paths()
         self.add_ldflags_cppflags()
 
     def init_inc_lib_dirs(self):
-- 
2.24.3 (Apple Git-128)

