[macOS] Strip executable when `separate_debug_symbols` is set to yes

This commit is contained in:
bruvzg 2018-01-30 16:51:46 +02:00
parent d1954f464c
commit 9ef0315b06
No known key found for this signature in database
GPG Key ID: 89DD917D9CE4218D
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ def make_debug(target, source, env):
os.system(mpprefix + '/libexec/llvm-' + mpclangver + '/bin/llvm-dsymutil %s -o %s.dSYM' % (target[0], target[0])) os.system(mpprefix + '/libexec/llvm-' + mpclangver + '/bin/llvm-dsymutil %s -o %s.dSYM' % (target[0], target[0]))
else: else:
os.system('dsymutil %s -o %s.dSYM' % (target[0], target[0])) os.system('dsymutil %s -o %s.dSYM' % (target[0], target[0]))
os.system('strip -u -r %s' % (target[0]))
files = [ files = [
'crash_handler_osx.mm', 'crash_handler_osx.mm',