Source

woocode / sa-auto / src / libevent.sh

Full commit
#!/bin/sh

. ./set_app_env.sh;

L_CFLAGS="-fPIC";

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





rm -rf $LIBEVENT
rm -rf $APP_LIB/libevent

tar zxvf $LIBEVENT.tar.gz

cd $LIBEVENT

./configure --prefix=$APP_LIB/$LIBEVENT

make $MAKEOPT &&
make install

ln -s $APP_LIB/$LIBEVENT $APP_LIB/libevent