Fix spcomp64 filename for Windows #1368
This commit is contained in:
parent
6a4364d404
commit
90b68f095f
@ -90,7 +90,8 @@ if builder.host.platform == 'mac' and len(SM.target_archs) > 1:
|
||||
else:
|
||||
for bin_task in SM.spcomp_bins:
|
||||
if bin_task.target.arch == 'x86_64':
|
||||
file = os.path.basename(bin_task.binary.path) + '64'
|
||||
root, ext = os.path.splitext(os.path.basename(bin_task.binary.path))
|
||||
file = root + '64' + ext
|
||||
builder.AddCopy(bin_task.binary, os.path.normpath('addons/sourcemod/scripting/' + file))
|
||||
else:
|
||||
builder.AddCopy(bin_task.binary, folder_map['addons/sourcemod/scripting'])
|
||||
|
Loading…
Reference in New Issue
Block a user