forked from OSchip/llvm-project
[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:
parent
b98f902f18
commit
e59778a66a
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue