ncurses: fix build when dynamic linking not possible

This commit is contained in:
Jeremy Soller 2025-09-22 11:35:38 -06:00
parent dd0f30a61e
commit 59e0a2c91f
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -15,9 +15,12 @@ COOKBOOK_CONFIGURE_FLAGS+=(
--without-ada
--without-manpages
--without-tests
--with-shared
cf_cv_func_mkstemp=yes
)
if [ "${COOKBOOK_DYNAMIC}" == "1" ]
then
COOKBOOK_CONFIGURE_FLAGS+=(--with-shared)
fi
cookbook_configure
"""