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

Fix OCaml linker flag and align validation runners with build runners

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-08 17:26:30 +00:00
parent 34d2d08364
commit e685ea45ed
3 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ jobs:
validate-macos-headerpad-x64:
name: "Validate macOS x64 dylib headerpad"
needs: [mac-build-x64]
runs-on: macos-13
runs-on: macos-latest
timeout-minutes: 15
steps:
- name: Checkout code

View file

@ -96,7 +96,7 @@ jobs:
validate-macos-headerpad-x64:
name: "Validate macOS x64 dylib headerpad"
needs: [mac-build-x64]
runs-on: macos-13
runs-on: macos-15
timeout-minutes: 15
steps:
- name: Checkout code

View file

@ -160,7 +160,7 @@ endif()
if( APPLE )
# set(ocaml_rpath "@executable_path/../libz3${so_ext}")
# Add headerpad for install_name_tool compatibility on macOS
list(APPEND c_lib_deps "-Wl,-headerpad_max_install_names")
list(APPEND c_lib_deps "-ldopt" "-Wl,-headerpad_max_install_names")
elseif( UNIX )
set(ocaml_rpath "\\$ORIGIN/../libz3${so_ext}")
list(APPEND c_lib_deps "-dllpath" ${ocaml_rpath})