1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Really fix build.

This commit is contained in:
Nicholas Hastings 2017-04-26 06:13:22 -04:00
parent eae4fc7598
commit 05c72905e6

View File

@ -7,17 +7,17 @@ UPLOAD_SCRIPT = os.path.join(builder.sourcePath, 'support', 'buildbot', 'upload_
cxx_tasks = MMS.binaries
for cxx_task in cxx_tasks:
if builder.target_platform in ['windows']:
if builder.target.platform in ['windows']:
debug_entry = cxx_task.debug
else:
debug_entry = cxx_task.binary
debug_file = os.path.join(builder.buildPath, debug_entry.path)
if builder.target_platform == 'linux':
if builder.target.platform == 'linux':
argv = ['dump_syms', debug_file, os.path.dirname(debug_file)]
elif builder.target_platform == 'mac':
elif builder.target.platform == 'mac':
argv = ['dump_syms', debug_file + '.dSYM']
elif builder.target_platform == 'windows':
elif builder.target.platform == 'windows':
argv = ['dump_syms.exe', debug_file]
base_file = os.path.splitext(os.path.basename(debug_file))[0]