Handle object files named *.obj in merge_archives.py

Differential Revision: https://reviews.llvm.org/D37133

llvm-svn: 313072
This commit is contained in:
Martin Storsjo 2017-09-12 20:54:15 +00:00
parent 2890105eab
commit 499f58a548
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ def main():
execute_command_verbose([ar_exe, '-x', arc], cwd=temp_directory_root,
verbose=args.verbose)
files = glob.glob(os.path.join(temp_directory_root, '*.o'))
files = glob.glob(os.path.join(temp_directory_root, '*.o*'))
if not files:
print_and_exit('Failed to glob for %s' % glob_path)
cmd = [ar_exe, '-qc', args.output] + files