fix: build ICU static archives as PIC

This commit is contained in:
2026-05-07 09:11:30 +01:00
parent e742c1bd00
commit b54b2dbf76
+2 -2
View File
@@ -43,8 +43,8 @@ ln -sf mh-linux "${ICU_SRC}/config/mh-unknown"
--enable-static \ --enable-static \
--disable-shared \ --disable-shared \
--with-data-packaging=static \ --with-data-packaging=static \
CFLAGS="-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" \ CXXFLAGS="-DU_HAVE_CHAR16_T=0 -Wno-deprecated-declarations -fPIC" \
icu_cv_host_frag=mh-linux icu_cv_host_frag=mh-linux
make -j"${COOKBOOK_MAKE_JOBS}" make -j"${COOKBOOK_MAKE_JOBS}"