| Message ID | 20261105130640.683925-3-sean@geanix.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-oe,v2,1/5] zsh: drop gdbm dependency and --disable-gdbm | expand |
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] = ""
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 <sean@geanix.com> --- meta-oe/recipes-shells/zsh/zsh_5.9.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)