|
|
@ -30,6 +30,15 @@ if [ ! -d ${SERVER_ROOT}/icu ];then |
|
|
|
|
|
|
|
|
|
|
|
cd ${SOURCE_ROOT}/icu/source |
|
|
|
cd ${SOURCE_ROOT}/icu/source |
|
|
|
./runConfigureICU Linux --prefix=${SERVER_ROOT}/icu && make CXXFLAGS="-g -O2 -std=c++11" && make install |
|
|
|
./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 |
|
|
|
fi |