diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-11 12:22:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-13 23:28:30 +0100 |
commit | a1840d0986fe9c9dc6451bccacf1d900ef1ee6a1 (patch) | |
tree | 902a76af944ce8292ab34528aa14efdb1bd4dddd | |
parent | 6911d1f7af9047d6ed7b6aa67e73ca76918758bf (diff) | |
download | poky-a1840d0986fe9c9dc6451bccacf1d900ef1ee6a1.tar.gz |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3_3.12.4.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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" | |||
107 | PACKAGECONFIG[tcl] = ",,tcl" | 107 | PACKAGECONFIG[tcl] = ",,tcl" |
108 | PACKAGECONFIG[gdbm] = ",,gdbm" | 108 | PACKAGECONFIG[gdbm] = ",,gdbm" |
109 | PACKAGECONFIG[lto] = "--with-lto,--without-lto" | 109 | PACKAGECONFIG[lto] = "--with-lto,--without-lto" |
110 | PACKAGECONFIG[staticlibpython] = "--with-static-libpython,--without-static-libpython" | ||
110 | 111 | ||
111 | do_configure:prepend () { | 112 | do_configure:prepend () { |
112 | mkdir -p ${B}/Modules | 113 | mkdir -p ${B}/Modules |