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}"