(* $Id: findlib_config.mlp 103 2007-03-25 18:54:10Z gerd $ * ---------------------------------------------------------------------- * *) let config_file = "@CONFIGFILE@";; let ocaml_stdlib = "@STDLIB@";; let ocaml_ldconf = Filename.concat ocaml_stdlib "ld.conf";; let ocaml_has_autolinking = @AUTOLINK@;; let libexec_name = "stublibs";; let system = "@SYSTEM@";; (* - "mingw", "win32", "cygwin", "linux_elf", ... *) let dll_suffix = match Sys.os_type with "Unix" -> ".so" | "Win32" -> ".dll" | "Cygwin" -> ".dll" | "MacOS" -> "" (* don't know *) | _ -> failwith "Unknown Sys.os_type" ;;