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

boot: add a --static option to build a static dune #10528

Merged
merged 1 commit into from
May 15, 2024

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented May 14, 2024

This options adds -ccopt -static to the link flags (this requires a libc that supports static linking).

The motivation is nix build .#dune-static, which otherwise requires patching sources.

@emillon emillon requested a review from rgrinberg May 14, 2024 11:49
This options adds `-ccopt -static` to the link flags (this requires a
libc that supports static linking).

The motivation is `nix build .#dune-static`, which otherwise requires
patching sources.

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon merged commit cd9595a into ocaml:main May 15, 2024
25 of 28 checks passed
@emillon emillon deleted the boot-static branch May 15, 2024 07:45
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.

None yet

2 participants