zapret2/docs/compile/build_howto_builder.txt
2026-11-29 15:50:26 +03:00

13 lines
697 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.
To use zlib-ng instead of zlib set ZLIB_NG=1 before running build_deps.sh.
To compile zapret or zapret2 bins with dynamic musl libc set DYNAMIC=1.