Selaa lähdekoodia

Merge pull request #628 from thepyper/patch-1

Merge PR #628: unveil the mystery of building SE VPN with musl
Ilya Shipitsin 7 vuotta sitten
vanhempi
sitoutus
b9d7e94353
1 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
  1. 15 0
      src/BUILD_UNIX.md

+ 15 - 0
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 executables exhibit bad run-time behaviour.
 
 # How to Run SoftEther