Update icu.sh

pull/496/head
midoks 2 years ago
parent 7cc10a9bdb
commit d55450e0c9
  1. 11
      plugins/php/lib/icu.sh

@ -30,6 +30,15 @@ if [ ! -d ${SERVER_ROOT}/icu ];then
cd ${SOURCE_ROOT}/icu/source
./runConfigureICU Linux --prefix=${SERVER_ROOT}/icu && make CXXFLAGS="-g -O2 -std=c++11" && make install
fi
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/icu/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/icu/lib" > /etc/ld.so.conf.d/mw-icu.conf
elif [[ -f /etc/ld.so.conf ]]; then
echo "/www/server/lib/icu/lib" >> /etc/ld.so.conf
if
ldconfig
fi
fi
Loading…
Cancel
Save