Fixed for AMD64 compatibility
This commit is contained in:
parent
d802a3c961
commit
1114443a43
|
@ -221,7 +221,17 @@ public virtual string BuildPlugin(AMod mod, Plugin pl)
|
||||||
|
|
||||||
public static string PropSlashes(string path)
|
public static string PropSlashes(string path)
|
||||||
{
|
{
|
||||||
return path.Replace(Path.AltDirectorySeparatorChar,Path.DirectorySeparatorChar);
|
char sep;
|
||||||
|
char alt;
|
||||||
|
if (Releaser.IsWindows)
|
||||||
|
{
|
||||||
|
sep = '\\';
|
||||||
|
alt = '/';
|
||||||
|
} else {
|
||||||
|
sep = '/';
|
||||||
|
alt = '\\';
|
||||||
|
}
|
||||||
|
return path.Replace(alt,sep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,10 @@ public override string BuildModule(Module module)
|
||||||
p.WaitForExit();
|
p.WaitForExit();
|
||||||
|
|
||||||
if (!File.Exists(file))
|
if (!File.Exists(file))
|
||||||
|
{
|
||||||
|
Console.WriteLine("Output file failed: " + file);
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
//Now we need to see if the DL handle is valid!
|
//Now we need to see if the DL handle is valid!
|
||||||
string dlsym_dir = m_Cfg.GetSourceTree() + "\\plugins";
|
string dlsym_dir = m_Cfg.GetSourceTree() + "\\plugins";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
compress = /bin/tar
|
compress = /bin/tar
|
||||||
source = /home1/dvander/amxx
|
source = /home/users/dvander/amxx
|
||||||
makeopts = amd64
|
makeopts = amd64
|
||||||
output = /home1/dvander/done
|
output = /home/users/dvander/done
|
||||||
devenv = /usr/bin/make
|
devenv = /usr/bin/make
|
||||||
release = amxmodx-1.55
|
release = amxmodx-1.55
|
||||||
|
|
Loading…
Reference in New Issue
Block a user