1、编译openssl
1、下载:wget https://www.openssl.org/source/old/1.0.1/openssl-1.0.1e.tar.gz
2、解压:tar zxf openssl-1.0.1e.tar.gz
3、编译
./config no-asm shared os/compiler:/data/merlin/xiaomi/sdk_package_r1c/toolchain/bin/mipsel-openwrt-linux-gcc
2、编译ss
git clone -b btc-auth https://github.com/shadowsocks/shadowsocks-libev.git
./configure CC=/data/merlin/xiaomi/sdk_package_r1c/toolchain/bin/mipsel-openwrt-linux-gcc AR=/data/merlin/xiaomi/sdk_package_r1c/toolchain/bin/mipsel-openwrt-linux-ar --host=mipsel-openwrt-linux --with-openssl=/home/yp/openssl/openssl-1.0.1e --with-openssl-include=/home/yp/openssl/openssl-1.0.1e/include/openssl --with-openssl-lib=/home/yp/openssl/openssl-1.0.1e