From e345ef13ca142b0a310ca31b65afe2ee37d79a9a Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Sun, 23 May 2021 19:42:16 -0700 Subject: [PATCH] build: ensure object files are included even if unparsable --- build/zip_libcxx.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/zip_libcxx.py b/build/zip_libcxx.py index d3474a2dac5b..5eec83d2261b 100644 --- a/build/zip_libcxx.py +++ b/build/zip_libcxx.py @@ -22,6 +22,9 @@ def get_object_files(base_path, archive_name): if line.startswith(base_path): object_file = line.split(":")[0] object_files.add(object_file) + if line.startswith('nm: '): + object_file = line.split(":")[1].lstrip() + object_files.add(object_file) return list(object_files) + [archive_file] def main(argv):