Skip to content

Commit e2a3b44

Browse files
lukemaurergretay-js
authored andcommitted
Fix invocation of caml_shared_startup in native dynlink (#980)
1 parent f68f9a9 commit e2a3b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/otherlibs/dynlink/dynlink.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ module Native = struct
279279
(Printexc.get_raw_backtrace ())
280280

281281
let run_shared_startup handle ~filename ~priv =
282-
ndl_run handle "_shared_startup" ~filename ~priv
282+
ndl_run handle "caml_shared_startup" ~filename ~priv
283283

284284
let run handle ~filename ~unit_header ~priv =
285285
List.iter (fun cu -> ndl_run handle cu ~filename ~priv)

0 commit comments

Comments
 (0)