From 2951c149c5e4ebc6bee132f654daec0f1c2ecaae Mon Sep 17 00:00:00 2001 From: Sean Nyekjaer Date: Thu, 5 Nov 2026 14:06:38 +0100 Subject: [PATCH] zsh: move --disable-dynamic to a static PACKAGECONFIG Allow building zsh with dynamically loadable modules by moving --disable-dynamic into a PACKAGECONFIG named static, enabled by default to keep the current behaviour. Signed-off-by: Sean Nyekjaer Signed-off-by: Khem Raj --- meta-oe/recipes-shells/zsh/zsh_5.9.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb b/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb index 37948b5ea5..cb18983f2a 100644 --- a/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb +++ b/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb @@ -30,7 +30,6 @@ EXTRA_OECONF = " \ --with-term-lib='ncursesw ncurses' \ --enable-cap \ --enable-multibyte \ - --disable-dynamic \ zsh_cv_shared_environ=yes \ " @@ -44,6 +43,8 @@ ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" ALTERNATIVE_PRIORITY = "90" +PACKAGECONFIG ??= "static" +PACKAGECONFIG[static] = "--disable-dynamic,--enable-dynamic" # Needed for manpages.bbclass, but they're always installed PACKAGECONFIG[manpages] = ""