mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-06 19:48:43 +08:00
ncurses: fix build when dynamic linking not possible
This commit is contained in:
parent
dd0f30a61e
commit
59e0a2c91f
@ -15,9 +15,12 @@ COOKBOOK_CONFIGURE_FLAGS+=(
|
|||||||
--without-ada
|
--without-ada
|
||||||
--without-manpages
|
--without-manpages
|
||||||
--without-tests
|
--without-tests
|
||||||
--with-shared
|
|
||||||
cf_cv_func_mkstemp=yes
|
cf_cv_func_mkstemp=yes
|
||||||
)
|
)
|
||||||
|
if [ "${COOKBOOK_DYNAMIC}" == "1" ]
|
||||||
|
then
|
||||||
|
COOKBOOK_CONFIGURE_FLAGS+=(--with-shared)
|
||||||
|
fi
|
||||||
cookbook_configure
|
cookbook_configure
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user