| Message ID | 5e37c0345bccc3c732217aecf800f1d48bda0235.1774047909.git.yoann.congal@smile.fr |
|---|---|
| State | New |
| Headers | show |
| Series | [whinlatter,1/7] inetutils: Fix CVE-2026-32746 | expand |
diff --git a/meta/recipes-devtools/python/python3-pip_25.2.bb b/meta/recipes-devtools/python/python3-pip_25.2.bb index 496eff1f15d..901c0152dfb 100644 --- a/meta/recipes-devtools/python/python3-pip_25.2.bb +++ b/meta/recipes-devtools/python/python3-pip_25.2.bb @@ -30,6 +30,15 @@ SRC_URI += "file://no_shebang_mangling.patch \ SRC_URI[sha256sum] = "578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2" +do_install:append(){ + # pip vendors distlib which ships Windows launcher templates (*.exe). + # Keep them only when building for a Windows (mingw) host. + case "${HOST_OS}" in + mingw32|mingw64) ;; + *) rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/pip/_vendor/distlib/*.exe ;; + esac +} + RDEPENDS:${PN} = "\ python3-compile \ python3-html \