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

Use dune-configurator to set C flags #216

Merged
merged 6 commits into from
Jan 6, 2025
Merged

Conversation

yawaramin
Copy link
Contributor

@yawaramin yawaramin commented Jan 1, 2025

The dune-configurator code is just copied over from the ocaml-ssl repo, with the component name changed from config to cflags because there's already a file lib/config.ml.

(use_standard_c_and_cxx_flags true) added as per a dune recommendation. This is the default in dune language version 3.0 onwards.

Fixes #213

@yawaramin
Copy link
Contributor Author

yawaramin commented Jan 1, 2025

Fixes #213

This automatically has the `(use_standard_c_and_cxx_flags true)` set.
@anmonteiro
Copy link
Owner

Thank you

@anmonteiro anmonteiro merged commit 6c310f3 into anmonteiro:master Jan 6, 2025
5 checks passed
@yawaramin yawaramin deleted the cflags branch January 6, 2025 00:35
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.

openssl header not found for dune build
3 participants