瀏覽代碼

[neko] Fixes a typo on genneko.ml that prevented haxelib ndll search from working with non-default haxelib paths.

Jonas Malaco Filho 12 年之前
父節點
當前提交
4f0751f165
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genneko.ml

+ 1 - 1
genneko.ml

@@ -729,7 +729,7 @@ let generate_libs_init = function
 				"@b", Some (EIf (op "==" es (str p "Windows"),
 					op "+" (call p (ident p "@env") [str p "HAXEPATH"]) (str p "\\lib\\"),
 					Some (ETry (
-						op "+" (call p (loadp "file_contents" 1) [op "+" (call p (ident p "@env") [str p "HOME"]) (str p "./haxelib")]) (str p "/"),
+						op "+" (call p (loadp "file_contents" 1) [op "+" (call p (ident p "@env") [str p "HOME"]) (str p "/.haxelib")]) (str p "/"),
 						"e",
 						(EIf (op "==" es (str p "Linux"),
 							str p "/usr/lib/haxe/lib/",