3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-09 18:40:51 +00:00

Merge pull request #8541 from Z3Prover/copilot/update-nightly-build-test-process

Add macOS dylib headerpad fix and CI validation
This commit is contained in:
Nikolaj Bjorner 2026-02-08 12:43:45 -08:00 committed by GitHub
commit 45fd779621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 330 additions and 6 deletions

View file

@ -2749,8 +2749,6 @@ def mk_config():
CXXFLAGS = '%s -arch arm64' % CXXFLAGS
LDFLAGS = '%s -arch arm64' % LDFLAGS
SLIBEXTRAFLAGS = '%s -arch arm64' % SLIBEXTRAFLAGS
# Add header padding for macOS to allow install_name_tool to modify the dylib
# This fixes issues where install_name_tool fails with "larger updated load commands do not fit"
if IS_OSX:
SLIBFLAGS += ' -Wl,-headerpad_max_install_names'