[libcxx-commits] [PATCH] D84342: [libcxx] Fix default argument for merge_archives.py -L flag

Alexander Richardson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 22 10:33:17 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe59778a66a91: [libcxx] Fix default argument for merge_archives.py -L flag (authored by arichardson).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84342/new/

https://reviews.llvm.org/D84342

Files:
  libcxx/utils/merge_archives.py


Index: libcxx/utils/merge_archives.py
===================================================================
--- libcxx/utils/merge_archives.py
+++ libcxx/utils/merge_archives.py
@@ -93,7 +93,7 @@
     parser.add_argument(
         '-L', dest='search_paths',
         help='Paths to search for the libraries along', action='append',
-        nargs=1)
+        nargs=1, default=[])
     parser.add_argument(
         '--ar', dest='ar_exe', required=False,
         help='The ar executable to use, finds \'ar\' in the path if not given',


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84342.279879.patch
Type: text/x-patch
Size: 533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200722/ef6b733c/attachment.bin>


More information about the libcxx-commits mailing list