mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-29 06:27:14 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From 009e5cf0750134ed5403aae23ef53a177764ca04 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Duskett <aduskett@gmail.com>
|
||||
Date: Wed, 29 Dec 2021 13:49:15 -0800
|
||||
Subject: [PATCH] remove join from sip_h.files string
|
||||
|
||||
When cross compiling, the configure system appends the hosts /usr/ directory
|
||||
to the path of which to find files that python-sip will install. This leads to
|
||||
python-sip attempting to install everything under the hosts /usr directory into
|
||||
the targets /usr/include/python directory.
|
||||
|
||||
Remove the .join() in the sip_h.files string to prevent the above issue.
|
||||
|
||||
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
||||
---
|
||||
configure.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.py b/configure.py
|
||||
index 25bcaa7..fc8f2dc 100644
|
||||
--- a/configure.py
|
||||
+++ b/configure.py
|
||||
@@ -408,7 +408,7 @@ def create_makefiles(macros):
|
||||
# There will only be one element.
|
||||
files, path = gen_installs[0]
|
||||
pro.write("\n")
|
||||
- pro.write("sip_h.files = %s\n" % " ".join(files))
|
||||
+ pro.write("sip_h.files = %s\n" % files)
|
||||
pro.write("sip_h.path = %s\n" % quote(path))
|
||||
pro.write("INSTALLS += sip_h\n")
|
||||
|
||||
--
|
||||
2.33.1
|
||||
|
||||
Reference in New Issue
Block a user