3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 01:24:08 +00:00

always copy Microsoft.Z3.xml into package directory #7482

This commit is contained in:
Nikolaj Bjorner 2024-12-21 13:10:05 +01:00
parent 07b1ee5dcc
commit 4f7b6c794e

View file

@ -75,9 +75,7 @@ def unpack(packages, symbols, arch):
if symbols:
zip_ref.extract(f"{package_dir}/bin/libz3.pdb", f"{tmp}")
replace(f"{tmp}/{package_dir}/bin/libz3.pdb", f"out/runtimes/{dst}/native/libz3.pdb")
files = ["Microsoft.Z3.dll"]
if symbols:
files += ["Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
files = ["Microsoft.Z3.dll", "Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
for b in files:
file = f"{package_dir}/bin/{b}"
if os.path.exists(file):