-
Notifications
You must be signed in to change notification settings - Fork 60
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
Does not compile with -static #80
Comments
We strive to keep OCamlGraph compatible with as many versions of OCaml as possible (currently 3.10.2), so a switch to Dune will happen only if we do not "lose" too many versions by doing so. Do you know if Dune imposes some requirements? |
Yes, Dune requires OCaml ≥ 4.02. If you want to maintain compatibility with very old versions of OCaml, you need to detect whether shared libraries are supported by the compiler. |
Is there any known fix for this in the meantime? I'm trying to build ocamlPackages in nixpkgs statically, and this is one of the blockers. |
When compiling ocamlgraph with switch
4.07.1+musl+static+flambda
, I getSwitching to Dune will fix the problem automatically. :-)
The text was updated successfully, but these errors were encountered: