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