Select the types of activity you want to include in your feed.
Add caml_runtime_standard_library_default
Previously, the bytecode runtime just used OCAML_STDLIB_DIR from build_config.h. This value is now stored once in dynlink.o as caml_runtime_standard_library_default.
···4646extern char_os * caml_parse_ld_conf(const char_os * stdlib,
4747 struct ext_table * table);
48484949+/* The default location of the Standard Library as used by the runtime to find
5050+ ld.conf */
5151+extern const char_os *caml_runtime_standard_library_default;
5252+4953#endif /* CAML_INTERNALS */
50545155#endif /* CAML_DYNLINK_H */
+6-1
runtime/dynlink.c
···5858/* The table of shared libraries currently opened */
5959static struct ext_table shared_libs;
60606161+/* The default location of the Standard Library as used by the runtime to find
6262+ ld.conf */
6363+const char_os *caml_runtime_standard_library_default = OCAML_STDLIB_DIR;
6464+6165/* The search path for shared libraries */
6266struct ext_table caml_shared_libs_path;
6367···278282 if (lib_path != NULL)
279283 for (char_os *p = lib_path; *p != 0; p += strlen_os(p) + 1)
280284 caml_ext_table_add(&caml_shared_libs_path, p);
281281- caml_parse_ld_conf(OCAML_STDLIB_DIR, &caml_shared_libs_path);
285285+ caml_parse_ld_conf(caml_runtime_standard_library_default,
286286+ &caml_shared_libs_path);
282287 /* Open the shared libraries */
283288 caml_ext_table_init(&shared_libs, 8);
284289 if (libs != NULL)