[libcxx] Drop -D option from libtool when merging archives
This is a follow up to D74108. This option is not supported by older
versions of libtool so remove it. We keep the -s option to build the
index.
diff --git a/libcxx/utils/merge_archives.py b/libcxx/utils/merge_archives.py
index d784ea0..cc96cb2 100755
--- a/libcxx/utils/merge_archives.py
+++ b/libcxx/utils/merge_archives.py
@@ -143,10 +143,10 @@
if args.use_libtool:
files = [f for f in files if not f.startswith('__.SYMDEF')]
- execute_command_verbose([libtool_exe, '-static', '-o', args.output, '-sD'] + files,
+ execute_command_verbose([libtool_exe, '-static', '-o', args.output, '-s'] + files,
cwd=temp_directory_root, verbose=args.verbose)
else:
- execute_command_verbose([ar_exe, 'rcsD', args.output] + files,
+ execute_command_verbose([ar_exe, 'rcs', args.output] + files,
cwd=temp_directory_root, verbose=args.verbose)