Revert "Move native DLL directory to 'lib'"
This reverts commit 20f626dab8.
This commit is contained in:
@@ -439,11 +439,11 @@ class CommandLineTools
|
||||
|
||||
if (FileSystem.exists("tools.n"))
|
||||
{
|
||||
path = Path.combine(Sys.getCwd(), "../lib/");
|
||||
path = Path.combine(Sys.getCwd(), "../ndll/");
|
||||
}
|
||||
else if (FileSystem.exists("run.n"))
|
||||
{
|
||||
path = Sys.getCwd() + "/lib/";
|
||||
path = Sys.getCwd() + "/ndll/";
|
||||
}
|
||||
|
||||
if (path == "")
|
||||
@@ -456,21 +456,9 @@ class CommandLineTools
|
||||
{
|
||||
var line = StringTools.trim(process.stdout.readLine());
|
||||
|
||||
if (line.length > 0 && !StringTools.startsWith(line, "-"))
|
||||
if (StringTools.startsWith(line, "-L "))
|
||||
{
|
||||
path = StringTools.trim(line);
|
||||
if (FileSystem.exists(Path.combine(path, "../lib")))
|
||||
{
|
||||
path = Path.combine(path, "../lib");
|
||||
}
|
||||
else
|
||||
{
|
||||
path = Path.combine(path, "../ndll");
|
||||
}
|
||||
if (!StringTools.endsWith(path, "/"))
|
||||
{
|
||||
path += "/";
|
||||
}
|
||||
path = StringTools.trim(line.substr(2));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user