Fix: use OCAMLPARAM include dir even with threads

master
Marc Lasson 2016-05-18 14:09:00 +02:00
parent 0fd2964dff
commit 2a0341cd09
1 changed files with 2 additions and 3 deletions

View File

@ -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 ::