Skip to content

Commit

Permalink
fix for x86 macos target to 10.9 to hopefully match default in cibuil…
Browse files Browse the repository at this point in the history
…dwheel
  • Loading branch information
AndrewAnnex authored Jun 19, 2024
1 parent 0e087d3 commit 1245e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def build_cspice() -> str:
libname = f"libcspice.so"
target = ""
if host_OS == "Darwin":
target = "-target arm64-apple-macos11" if build_macos_arm else "-target x86_64-apple-macos11"
target = "-target arm64-apple-macos11" if build_macos_arm else "-target x86_64-apple-macos10.9"
extra_flags = f"-dynamiclib -install_name @rpath/{libname}"
else:
extra_flags = f"-shared -Wl,-soname,{libname}"
Expand Down

0 comments on commit 1245e54

Please sign in to comment.