1From 009e5cf0750134ed5403aae23ef53a177764ca04 Mon Sep 17 00:00:00 2001 2From: Adam Duskett <aduskett@gmail.com> 3Date: Wed, 29 Dec 2021 13:49:15 -0800 4Subject: [PATCH] remove join from sip_h.files string 5 6When cross compiling, the configure system appends the hosts /usr/ directory 7to the path of which to find files that python-sip will install. This leads to 8python-sip attempting to install everything under the hosts /usr directory into 9the targets /usr/include/python directory. 10 11Remove the .join() in the sip_h.files string to prevent the above issue. 12 13Signed-off-by: Adam Duskett <aduskett@gmail.com> 14--- 15 configure.py | 2 +- 16 1 file changed, 1 insertion(+), 1 deletion(-) 17 18diff --git a/configure.py b/configure.py 19index 25bcaa7..fc8f2dc 100644 20--- a/configure.py 21+++ b/configure.py 22@@ -408,7 +408,7 @@ def create_makefiles(macros): 23 # There will only be one element. 24 files, path = gen_installs[0] 25 pro.write("\n") 26- pro.write("sip_h.files = %s\n" % " ".join(files)) 27+ pro.write("sip_h.files = %s\n" % files) 28 pro.write("sip_h.path = %s\n" % quote(path)) 29 pro.write("INSTALLS += sip_h\n") 30 31-- 322.33.1 33 34