Browse Source

also loop up std lib in the compiler binary directory on unix

just like what we do on Windows
Andy Li 7 years ago
parent
commit
a4f1826c57
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/compiler/main.ml

+ 2 - 0
src/compiler/main.ml

@@ -354,6 +354,8 @@ let get_std_class_paths () =
 				Path.add_trailing_slash (Filename.concat lib_path "haxe/extraLibs");
 				Path.add_trailing_slash (Filename.concat share_path "haxe/std");
 				Path.add_trailing_slash (Filename.concat share_path "haxe/extraLibs");
+				Path.add_trailing_slash (Filename.concat base_path "std");
+				Path.add_trailing_slash (Filename.concat base_path "extraLibs");
 				""
 			]
 		else