mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-12 15:31:03 +00:00
zsh: add gdbm PACKAGECONFIG
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> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
2951c149c5
commit
22c06dfc4f
1 file changed
+2
-1
@@ -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] = ""
|
||||
|
||||
|
||||
Reference in new issue
Block a user