bash: fix static build
The static build needs some trickery, so make it happen. Fixes: http://autobuild.buildroot.net/results/2b12868f8297a96d7abf7fcf526ca5eace73d66d/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4807cdf8a9
commit
9e0f48c831
@ -16,6 +16,11 @@ BASH_CONF_ENV += \
|
|||||||
bash_cv_func_sigsetjmp=present \
|
bash_cv_func_sigsetjmp=present \
|
||||||
bash_cv_printf_a_format=yes
|
bash_cv_printf_a_format=yes
|
||||||
|
|
||||||
|
# The static build needs some trickery
|
||||||
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
|
BASH_CONF_OPT += --enable-static-link --without-bash-malloc
|
||||||
|
endif
|
||||||
|
|
||||||
# Make sure we build after busybox so that /bin/sh links to bash
|
# Make sure we build after busybox so that /bin/sh links to bash
|
||||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||||
BASH_DEPENDENCIES += busybox
|
BASH_DEPENDENCIES += busybox
|
||||||
|
Loading…
Reference in New Issue
Block a user