mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 17:01:55 +00:00
Adds proper -compatibility_version and -current_version linker flags for macOS builds using the mk_util.py build system. This resolves issue #6651 where .dylib files in pip packages had incorrect version info (0.0.0) compared to homebrew builds which had proper versioning. The fix adds the appropriate linker flags to SLIBEXTRAFLAGS when building on macOS: - compatibility_version: major.minor.0 (minimum compatible version) - current_version: major.minor.build (current library version) This ensures pip package dylibs will have correct version metadata that matches the actual Z3 version, fixing linking issues for users who depend on proper dylib versioning. Fixes #6651 |
||
---|---|---|
.. | ||
build-win-signed-cmake.yml | ||
build-win-signed.yml | ||
build_libcxx_msan.sh | ||
coverage.yml | ||
find_non_defined_param_eval_patterns.py | ||
generate-doc.yml | ||
jsdoctest.yml | ||
mk_consts_files.py | ||
mk_copyright.py | ||
mk_def_file.py | ||
mk_exception.py | ||
mk_genfile_common.py | ||
mk_gparams_register_modules_cpp.py | ||
mk_install_tactic_cpp.py | ||
mk_make.py | ||
mk_mem_initializer_cpp.py | ||
mk_nuget_task.py | ||
mk_pat_db.py | ||
mk_project.py | ||
mk_unix_dist.py | ||
mk_unix_dist_cmake.py | ||
mk_util.py | ||
mk_win_dist.py | ||
mk_win_dist_cmake.py | ||
nightly.yaml | ||
policy.json | ||
pyg2hpp.py | ||
README | ||
release.yml | ||
test-examples-cmake.yml | ||
test-java-cmake.yml | ||
test-jupyter.yml | ||
test-regressions-coverage.yml | ||
test-regressions.yml | ||
test-z3.yml | ||
trackall.sh | ||
update_api.py | ||
update_header_guards.py | ||
update_include.py | ||
update_version.py | ||
VERSION.txt | ||
vsts-mac.sh | ||
vsts-vs2013.cmd | ||
vsts-vs2017.cmd |
Instructions for updating external Z3 API ----------------------------------------- The python "macros": def_Type() and def_API() are used to add new types and function definitions to the Z3 API. The .h files provided to `mk_bindings(API_files)` contain these definitions. See src\api\z3_api.h for many examples. The bindings for .Net and Python are generated when mk_make.py is invoked.