ssr-libev
需要手动编译 ssr-libev。
编译 shadowsocks-libev 方法:
下载源码:
git clone https://github.com/kaneawk/shadowsocksr-libev
cd shadowsocksr-libev
1.安装依赖:
brew install asciidoc
brew install xmlto
brew install openssl
brew install pcre
2.设置环境变量:
export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
3.编译
./configure && make -j4
4.提取 src 下的 ss-local,替换下载的 ShadowsocksX-NG-R8.app/Contents/Resources/ss-local 原文件。
5.拖进应用程序中,运行即可。
标签:ss