Source

woocode / sa-auto / src / openssl.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 $OPENSSL
rm -rf $APP_LIB/openssl

tar zxvf $OPENSSL.tar.gz

cd $OPENSSL

./config --prefix=$APP_LIB/$OPENSSL  -shared && 

# 不要多进程编译,会有问题
#make $MAKEOPT &&
make &&
make install

ln -s $APP_LIB/$OPENSSL $APP_LIB/openssl