From a1840d0986fe9c9dc6451bccacf1d900ef1ee6a1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 11 Jul 2024 12:22:50 +0100 Subject: python3: Drop generating a static libpython This currently puts a 60MB binary into the recipe sysroots in the native case as well as the implications for the target. Since as far as I know, we don't need/use this, stop generating it by adding a PACKAGECONFIG. It can be enabled by anyone who does actually need to use it. (From OE-Core rev: e42abd3b82c7bac93541b2cf87b553c1a31346cd) Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.12.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb b/meta/recipes-devtools/python/python3_3.12.4.bb index 77bbfaa069..743ba0b1f1 100644 --- a/meta/recipes-devtools/python/python3_3.12.4.bb +++ b/meta/recipes-devtools/python/python3_3.12.4.bb @@ -107,6 +107,7 @@ PACKAGECONFIG[tk] = ",,tk" PACKAGECONFIG[tcl] = ",,tcl" PACKAGECONFIG[gdbm] = ",,gdbm" PACKAGECONFIG[lto] = "--with-lto,--without-lto" +PACKAGECONFIG[staticlibpython] = "--with-static-libpython,--without-static-libpython" do_configure:prepend () { mkdir -p ${B}/Modules -- cgit v1.2.3-54-g00ecf