3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-13 12:23:01 +00:00

Apply headerpad fix to build systems (Python and CMake) and fix validation test paths

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-08 17:23:04 +00:00
parent 406e99b0d2
commit af76ac69d6
6 changed files with 20 additions and 3 deletions

View file

@ -159,6 +159,8 @@ 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")
elseif( UNIX )
set(ocaml_rpath "\\$ORIGIN/../libz3${so_ext}")
list(APPEND c_lib_deps "-dllpath" ${ocaml_rpath})