[libcxx] Fix default argument for merge_archives.py -L flag

If we use the default of None, we get a python exception in
find_and_diagnose_missing() instead of printing a sensible error message.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D84342
This commit is contained in:
Alex Richardson 2020-07-22 18:32:34 +01:00
parent b98f902f18
commit e59778a66a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def main():
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',