From 59e0a2c91fa81723fc6ebb0b1aaa31cd10ee4e88 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 22 Sep 2025 11:35:38 -0600 Subject: [PATCH] ncurses: fix build when dynamic linking not possible --- recipes/libs/ncurses/recipe.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/libs/ncurses/recipe.toml b/recipes/libs/ncurses/recipe.toml index 0fa4f74d..87fc7479 100644 --- a/recipes/libs/ncurses/recipe.toml +++ b/recipes/libs/ncurses/recipe.toml @@ -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 """