Removing dependency on nme-dev for building libraries

This commit is contained in:
underscorediscovery
2014-05-14 00:34:31 -02:30
parent 18f182aa4a
commit 03eeb4e8a3
2 changed files with 9 additions and 1 deletions

BIN
run.n vendored

Binary file not shown.

View File

@@ -227,7 +227,15 @@ class RunScript {
}
var buildSharedLibs = (path == PathHelper.combine (limeDirectory, "project"));
var sharedLibsPath = PathHelper.combine (PathHelper.getHaxelib (new Haxelib ("nme-dev"), buildSharedLibs), "project");
var sharedLibsPath = "";
//only request the path from shared libs if it's required,
//anything that doesn't use nme-dev would trip up on this otherwise
if(buildSharedLibs) {
sharedLibsPath = PathHelper.combine (PathHelper.getHaxelib (new Haxelib ("nme-dev"), buildSharedLibs), "project");
}
if (target == "wiiu" && path == PathHelper.combine (limeDirectory, "project")) {