Fix: use OCAMLPARAM include dir even with threads
parent
0fd2964dff
commit
2a0341cd09
|
@ -27,10 +27,9 @@ let init_path ?(dir="") native =
|
|||
else if !Clflags.use_vmthreads && not native then
|
||||
"+vmthreads" :: !Clflags.include_dirs
|
||||
else
|
||||
!last_include_dirs @
|
||||
!Clflags.include_dirs @
|
||||
!first_include_dirs
|
||||
!Clflags.include_dirs
|
||||
in
|
||||
let dirs = !last_include_dirs @ dirs @ !first_include_dirs in
|
||||
let exp_dirs =
|
||||
List.map (Misc.expand_directory Config.standard_library) dirs in
|
||||
Config.load_path := dir ::
|
||||
|
|
Loading…
Reference in New Issue