]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3: Drop generating a static libpython
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Jul 2024 11:22:50 +0000 (12:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Jul 2024 22:25:25 +0000 (23:25 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.12.4.bb

index 77bbfaa069e36857416379a08d7a801bed76ad4a..743ba0b1f1fa58646b7089ad0fe4f2fd55369464 100644 (file)
@@ -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