Source

woocode / sa-auto / src / pcre.sh

Full commit
#!/bin/sh

. ./set_app_env.sh;

L_CFLAGS="";
L_LDFLAGS="";

CFLAGS=" $G_CFLAGS $L_CFLAGS";export CFLAGS;
LDFLAGS=" $G_LDFLAGS $L_LDFLAGS";export LDFLAGS;
CPPFLAGS=" $G_CPPFLAGS $L_CPPFLAGS";export CPPFLAGS;

rm -rf $PCRE
rm -rf $APP_LIB/pcre

tar zxvf $PCRE.tar.gz

cd $PCRE

./configure --prefix=$APP_LIB/$PCRE --enable-utf8 --enable-unicode-properties &&

make $MAKEOPT &&

make install 

ln -s $APP_LIB/$PCRE $APP_LIB/pcre