diff --git a/libcxx/utils/merge_archives.py b/libcxx/utils/merge_archives.py --- a/libcxx/utils/merge_archives.py +++ b/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',