From 80c5845246832cbc3db966a9127f718fb22de9b9 Mon Sep 17 00:00:00 2001 From: Pierre Villemot Date: Tue, 30 Jul 2024 14:39:58 +0200 Subject: [PATCH] fix --- src/bin/text/gen_link_flags.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/text/gen_link_flags.ml b/src/bin/text/gen_link_flags.ml index 19f461a04..2e65dced1 100644 --- a/src/bin/text/gen_link_flags.ml +++ b/src/bin/text/gen_link_flags.ml @@ -21,13 +21,14 @@ let starts_with ~prefix s = let () = let mixed_flags = ["-noautolink"] in + (* Note: for OCaml 5, use -lcamlstrnat and -lunixnat and mind zlib + https://github.com/ocaml/ocaml/issues/12562 *) let mixed_cclib = [ - "-lstdcompat_stubs"; "-lcamlzip"; + "-lnums"; "-lzarith"; "-lcamlstr"; "-lunix"; - "-lnums"; "-lz" ] in