From c69a5cf3083a6031b603c597e58d081f7cfbadf9 Mon Sep 17 00:00:00 2001 From: Lucas Ramage Date: Mon, 25 Nov 2019 16:17:11 -0500 Subject: [PATCH] Document compiling static binaries Bug: https://github.com/proot-me/proot/issues/176 --- doc/howto-release.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/howto-release.txt b/doc/howto-release.txt index f056e855..7c8a68f8 100644 --- a/doc/howto-release.txt +++ b/doc/howto-release.txt @@ -28,7 +28,15 @@ Checks + Static analysis: Gcov/Lcov and Clang Scan Build must not report new issues. All shell scripts must pass shellcheck. + +Static Binaries +--------------- +The following commands will generate statically-linked binaries +which can be optionally distributed for each release: + + make -C src loader.exe loader-m32.exe build.h + LDFLAGS="${LDFLAGS} -static" make -C proot Documentation Update --------------------