From b54b2dbf7676b7713c605f40bd34b1fc3c2b3dfc Mon Sep 17 00:00:00 2001 From: Vasilito Date: Thu, 7 May 2026 09:11:30 +0100 Subject: [PATCH] fix: build ICU static archives as PIC --- local/recipes/libs/icu/recipe.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/recipes/libs/icu/recipe.toml b/local/recipes/libs/icu/recipe.toml index 71849cfcf..06149f0f8 100644 --- a/local/recipes/libs/icu/recipe.toml +++ b/local/recipes/libs/icu/recipe.toml @@ -43,8 +43,8 @@ ln -sf mh-linux "${ICU_SRC}/config/mh-unknown" --enable-static \ --disable-shared \ --with-data-packaging=static \ - CFLAGS="-DU_HAVE_CHAR16_T=0 -Wno-deprecated-declarations" \ - CXXFLAGS="-DU_HAVE_CHAR16_T=0 -Wno-deprecated-declarations" \ + CFLAGS="-DU_HAVE_CHAR16_T=0 -Wno-deprecated-declarations -fPIC" \ + CXXFLAGS="-DU_HAVE_CHAR16_T=0 -Wno-deprecated-declarations -fPIC" \ icu_cv_host_frag=mh-linux make -j"${COOKBOOK_MAKE_JOBS}"