summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch')
-rw-r--r--meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
new file mode 100644
index 0000000000..2ed6ab8500
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/files/0001-Fix-Python3-site-packages-path-to-fix-package-QA-Iss.patch
@@ -0,0 +1,27 @@
1Subject: [PATCH] Fix Python3 site packages path to fix package QA Issue
2
3libtorrent-rasterbar-2.0.12-r0 do_package: QA Issue: libtorrent-rasterbar: Files/directories were installed but not shipped in any package:
4 /lib/python3.14/site-packages/libtorrent.so
5
6Upstream-Status: Inappropriate [ OE specific ]
7Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
8---
9 bindings/python/CMakeLists.txt | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt
13index 4e8ee816b..ee9566afc 100644
14--- a/bindings/python/CMakeLists.txt
15+++ b/bindings/python/CMakeLists.txt
16@@ -96,7 +96,7 @@ else()
17 execute_process(
18 COMMAND "${Python3_EXECUTABLE}" -c [=[
19 import sysconfig
20-print(sysconfig.get_path('platlib', vars={'platbase': '', 'base': ''}))
21+print(sysconfig.get_path('platlib', vars={'platbase': '/usr', 'base': ''}))
22 ]=]
23 OUTPUT_VARIABLE _PYTHON3_SITE_ARCH
24 OUTPUT_STRIP_TRAILING_WHITESPACE
25--
262.43.0
27