mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
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)
|
||||
{
|
||||
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();
|
||||
|
||||
if (!File.Exists(file))
|
||||
{
|
||||
Console.WriteLine("Output file failed: " + file);
|
||||
return null;
|
||||
}
|
||||
|
||||
//Now we need to see if the DL handle is valid!
|
||||
string dlsym_dir = m_Cfg.GetSourceTree() + "\\plugins";
|
||||
|
@ -1,6 +1,6 @@
|
||||
compress = /bin/tar
|
||||
source = /home1/dvander/amxx
|
||||
source = /home/users/dvander/amxx
|
||||
makeopts = amd64
|
||||
output = /home1/dvander/done
|
||||
output = /home/users/dvander/done
|
||||
devenv = /usr/bin/make
|
||||
release = amxmodx-1.55
|
||||
|
Loading…
Reference in New Issue
Block a user