From e43f2f37443cc8fa19065b79c0fe7f23d132e054 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 26 Apr 2026 09:54:32 +0700 Subject: [PATCH] Fix libedit from linking termcap --- recipes/libs/termcap/recipe.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/libs/termcap/recipe.toml b/recipes/libs/termcap/recipe.toml index 635dc17d..8a87cafb 100644 --- a/recipes/libs/termcap/recipe.toml +++ b/recipes/libs/termcap/recipe.toml @@ -8,5 +8,7 @@ DYNAMIC_STATIC_INIT COOKBOOK_CONFIGURE_FLAGS+=( --prefix="${COOKBOOK_STAGE}/usr" ) +# termcap only emit static object +export CC+=" -fPIC" cookbook_configure """