Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation on building a standalone statically linked executable including compiled libs #746

Merged
merged 1 commit into from
May 25, 2021
Merged

Fix documentation on building a standalone statically linked executable including compiled libs #746

merged 1 commit into from
May 25, 2021

Conversation

lubgr
Copy link
Contributor

@lubgr lubgr commented May 24, 2021

This one-liner adjusts the documentation on building a standalone static executable with all compiled libraries.

If I am not mistaken, the preprocessor flag SEXP_USE_STATIC_LIBS_NO_INCLUDE=0 must be present when compiling eval.c in order to include the generated clibs.c - otherwise SEXP_USE_STATIC_LIBS_NO_INCLUDE will be set to 1 in features.h, and I believe this is not what the docs are trying to show (also, linking fails due to a missing sexp_static_libraries symbol, as tested on MacOS and Linux ARM).

@ashinn
Copy link
Owner

ashinn commented May 25, 2021

Yes, sorry, this is already set in the build tests.

@ashinn ashinn merged commit fa59b28 into ashinn:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants