Skip to content

Commit

Permalink
fix byte_for_jsoo, fix ocaml#5282
Browse files Browse the repository at this point in the history
Signed-off-by: Hugo Heuzard <[email protected]>
  • Loading branch information
hhugo committed Jan 12, 2022
1 parent ddcc55b commit 1c140d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/dune_rules/lib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,7 @@ module Link_params = struct
separately to help the linker locate them. *)
let+ hidden_deps =
match mode with
| Byte -> Memo.Build.return dll_files
| Byte_for_jsoo -> Memo.Build.return []
| Byte | Byte_for_jsoo -> Memo.Build.return dll_files
| Byte_with_stubs_statically_linked_in -> Memo.Build.return lib_files
| Native ->
let+ native_archives =
Expand All @@ -500,8 +499,7 @@ module Link_params = struct
let include_dirs =
let files =
match mode with
| Byte -> dll_files
| Byte_for_jsoo -> []
| Byte | Byte_for_jsoo -> dll_files
| Byte_with_stubs_statically_linked_in
| Native ->
lib_files
Expand Down

0 comments on commit 1c140d7

Please sign in to comment.