mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
Handle object files named *.obj in merge_archives.py
Differential Revision: https://reviews.llvm.org/D37133 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@313072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -118,7 +118,7 @@ def main():
|
|||||||
execute_command_verbose([ar_exe, '-x', arc], cwd=temp_directory_root,
|
execute_command_verbose([ar_exe, '-x', arc], cwd=temp_directory_root,
|
||||||
verbose=args.verbose)
|
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:
|
if not files:
|
||||||
print_and_exit('Failed to glob for %s' % glob_path)
|
print_and_exit('Failed to glob for %s' % glob_path)
|
||||||
cmd = [ar_exe, '-qc', args.output] + files
|
cmd = [ar_exe, '-qc', args.output] + files
|
||||||
|
Reference in New Issue
Block a user