| Message ID | 20261105130640.683925-4-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 cb18983f2a..32c59fb6bc 100644 --- a/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb +++ b/meta-oe/recipes-shells/zsh/zsh_5.9.2.bb @@ -44,7 +44,8 @@ ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" ALTERNATIVE_PRIORITY = "90" PACKAGECONFIG ??= "static" -PACKAGECONFIG[static] = "--disable-dynamic,--enable-dynamic" +PACKAGECONFIG[static] = "--disable-dynamic,--enable-dynamic zsh_cv_sys_dynamic_rtld_global=yes zsh_cv_sys_dynamic_execsyms=yes" +PACKAGECONFIG[gdbm] = "--enable-gdbm,--disable-gdbm,gdbm,,,static" # Needed for manpages.bbclass, but they're always installed PACKAGECONFIG[manpages] = ""
The zsh/db/gdbm module is link=dynamic only, so add a PACKAGECONFIG for it that conflicts with static. When static is disabled, preset the dynamic loading checks configure can't run when cross compiling. AI-Generated: Uses Claude Code 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(-)