Merge pull request #746 from lubgr/small-doc-fix-on-static-executable

Fix documentation on building a standalone statically linked executable including compiled libs
This commit is contained in:
Alex Shinn 2021-05-25 11:37:28 +09:00 committed by GitHub
commit fa59b289a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,8 @@ or edited manually. Be sure to run this with a non-static
chibi-scheme. Then you can make the static executable with: chibi-scheme. Then you can make the static executable with:
\command{ \command{
make -B chibi-scheme-static SEXP_USE_DL=0 CPPFLAGS=-DSEXP_USE_STATIC_LIBS make -B chibi-scheme-static SEXP_USE_DL=0 \
CPPFLAGS="-DSEXP_USE_STATIC_LIBS -DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0"
} }
By default files are installed in /usr/local. You can optionally By default files are installed in /usr/local. You can optionally