From e7d8d698a25cd20cd34a7ccfa85affe6c23d348d Mon Sep 17 00:00:00 2001 From: thepyper Date: Wed, 8 Aug 2018 15:14:18 +0000 Subject: [PATCH] Update BUILD_UNIX.md Added a note on building on musl-based linux. --- src/BUILD_UNIX.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/BUILD_UNIX.md b/src/BUILD_UNIX.md index d710bc0f..f29433b7 100644 --- a/src/BUILD_UNIX.md +++ b/src/BUILD_UNIX.md @@ -57,6 +57,21 @@ This will compile and install SoftEther VPN Server, Bridge and Client binaries u If any error occurs, please check the above requirements. +# Build on musl-based linux + +To build the programs from the source code when using musl as libc, run the following commands: + +```bash +export USE_MUSL=YES +git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git +git submodule init && git submodule update +cd SoftEtherVPN +./configure +make -C tmp +make -C tmp install +``` + +Building without USE_MUSL environment variable set compiles, but produced executabled exhibit bad run-time behaviour. # How to Run SoftEther