Skip to content

Instantly share code, notes, and snippets.

@honwen
honwen / cross_and_static_compile_shadowsocks-libev.sh
Last active February 28, 2023 22:56 — forked from harv/cross_and_static_compile_shadowsocks-libev.sh
cross & static compile shadowsocks-libev
#!/bin/bash
export http_proxy=http://127.0.0.1:8080
export https_proxy=http://127.0.0.1:8080
export CC=clang
export CXX=clang++
# git init
git config --global user.name 'docker'
<?xml version="1.0" encoding="utf-8"?>
<spnOverrides>
<!-- Korea -->
<spnOverride numeric="45005" spn_display_rule="SPN_RULE_SHOW_PLMN" />
<!-- Japan -->
<spnOverride numeric="44010" spn_display_rule="SPN_RULE_SHOW_PLMN" />
<spnOverride numeric="44020" spn="SoftBank" />
<!-- Hong Kong -->
<spnOverride numeric="45406" spn="SmarTone" />