[PATCH] D37133: [libc++] Handle object files named *.obj in merge_archives.py
Martin Storsjö via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 25 02:18:20 PDT 2017
mstorsjo created this revision.
https://reviews.llvm.org/D37133
Files:
utils/merge_archives.py
Index: utils/merge_archives.py
===================================================================
--- utils/merge_archives.py
+++ utils/merge_archives.py
@@ -120,6 +120,8 @@
files = glob.glob(os.path.join(temp_directory_root, '*.o'))
if not files:
+ files = glob.glob(os.path.join(temp_directory_root, '*.obj'))
+ if not files:
print_and_exit('Failed to glob for %s' % glob_path)
cmd = [ar_exe, '-qc', args.output] + files
execute_command_verbose(cmd, cwd=temp_directory_root, verbose=args.verbose)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37133.112666.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170825/73d06129/attachment.bin>
More information about the cfe-commits
mailing list