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 cross-compilation #159

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Conversation

anmonteiro
Copy link
Collaborator

Dune doesn't call findlib anymore to get the findlib conf for the default context (see ocaml/dune#4281)

@@ -333,6 +335,7 @@ in
nativeBuildInputs = (o.nativeBuildInputs or [ ]) ++ (o.buildInputs or [ ]);
buildInputs = (o.buildInputs or [ ]) ++ (o.nativeBuildInputs or [ ]);
OCAMLFIND_CONF = "${findlib_conf}/findlib.conf";
OCAMLPATH = natPath;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix ends up being just this. the rest was refactoring

@anmonteiro anmonteiro merged commit 524b274 into master Feb 18, 2022
@anmonteiro anmonteiro deleted the anmonteiro/fix-cross-compilation branch February 18, 2022 22:16
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.

1 participant