build: fixup libcxx zip (#39536)

This commit is contained in:
John Kleinschmidt 2023-08-16 14:05:39 -04:00 committed by GitHub
parent 1eb398b328
commit 9d6d606192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,8 @@ def get_object_files(base_path, archive_name):
def main(argv):
dist_zip, = argv
out_dir = os.path.dirname(dist_zip)
base_path_libcxx = os.path.join(out_dir, 'obj/third_party/libc++')
base_path_libcxxabi = os.path.join(out_dir, 'obj/third_party/libc++abi')
base_path_libcxx = os.path.join(out_dir, 'obj/buildtools/third_party/libc++')
base_path_libcxxabi = os.path.join(out_dir, 'obj/buildtools/third_party/libc++abi')
object_files_libcxx = get_object_files(base_path_libcxx, 'libc++.a')
object_files_libcxxabi = get_object_files(base_path_libcxxabi, 'libc++abi.a')
with zipfile.ZipFile(