add cwd to classpaths for libName

This commit is contained in:
2023-04-29 19:37:36 -06:00
parent 63576057ac
commit 196a91a2cd

View File

@@ -849,6 +849,7 @@ class Helpers {
// Get the path to a haxelib the program depends on
public static function libPath(haxelibName:String) {
var classPaths = Context.getClassPath();
classPaths.push(Path.normalize(Sys.getCwd()));
for (dir in classPaths) {
var parts = Path.normalize(dir).split("/");