18 lines
941 B
Text
18 lines
941 B
Text
builder_linux is the script set to compile linux zapret binaries for all supported targets on a linux x86_64 host.
|
|
|
|
howto steps:
|
|
|
|
1. Need a x86_64 traditional linux system with inet access and installed : make, automake, gcc, pkg-config, curl
|
|
2. Copy builder-linux folder somewhere and `cd` to that folder
|
|
3. Run get_toolschains.sh. Select required toolchains or ALL.
|
|
4. Run build_deps.sh. Select required architectures or ALL.
|
|
5. Run build_zapret1.sh or build_zapret2.sh. Select required architectures or ALL.
|
|
6. See binaries in `binaries` folder.
|
|
|
|
options :
|
|
|
|
zlib-ng : set ZLIB_NG=1 before running build_deps.sh
|
|
dynamic musl : set DYNAMIC=1 before running build_zapret{1,2}.sh
|
|
pie : set PIE=1 before running build_deps.sh and build_zapret{1,2}.sh
|
|
export lua functions : set LUAEXPORT=1 DYNAMIC=1 before running build_zapret2.sh
|
|
lua module org.connman.dns : run build_spcdns.sh. ./nfqws2 --interpreter --lua-init="require 'org_conman_dns'"
|