mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
use netstandard 2.0 per recommendations
seems that now the recommended starting point is 2.0 and not lower.
This commit is contained in:
parent
6b0dc6d144
commit
7d311ac2ef
2 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ def unpack(packages, symbols):
|
|||
mk_dir(f"out/runtimes/{dst}/native")
|
||||
replace(f"{tmp}/{package_dir}/bin/libz3.{ext}", f"out/runtimes/{dst}/native/libz3.{ext}")
|
||||
if "x64-win" in f:
|
||||
mk_dir("out/lib/netstandard1.4/")
|
||||
mk_dir("out/lib/netstandard2.0/")
|
||||
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")
|
||||
|
@ -74,7 +74,7 @@ def unpack(packages, symbols):
|
|||
files += ["Microsoft.Z3.pdb", "Microsoft.Z3.xml"]
|
||||
for b in files:
|
||||
zip_ref.extract(f"{package_dir}/bin/{b}", f"{tmp}")
|
||||
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard1.4/{b}")
|
||||
replace(f"{tmp}/{package_dir}/bin/{b}", f"out/lib/netstandard2.0/{b}")
|
||||
|
||||
def mk_targets(source_root):
|
||||
mk_dir("out/build")
|
||||
|
@ -107,7 +107,7 @@ Linux Dependencies:
|
|||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<language>en</language>
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard1.4" />
|
||||
<group targetFramework=".netstandard2.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>""".format(version, repo, branch, commit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue