Skip to content

Commit 796f922

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! fixup! Fix CI regressions
1 parent 78d40b8 commit 796f922

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build_sdl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def unpack_sdl(version: str) -> Path:
170170
sdl_path = Path(f"dependencies/SDL3-{version}")
171171
if sys.platform == "darwin":
172172
sdl_dir = sdl_path
173-
sdl_path /= "SDL3.xcframework/macos-arm64_x86_64/SDL3.framework"
173+
sdl_path /= "SDL3.framework"
174174
if sdl_path.exists():
175175
return sdl_path
176176
sdl_archive = get_sdl_file(version)
@@ -370,8 +370,7 @@ def get_cdef() -> tuple[str, dict[str, str]]:
370370
# Link to the SDL framework on MacOS.
371371
# Delocate will bundle the binaries in a later step.
372372
if sys.platform == "darwin":
373-
HEADER_DIR = Path(SDL_PARSE_PATH, "Headers")
374-
include_dirs.append(HEADER_DIR)
373+
include_dirs.append(SDL_INCLUDE)
375374
extra_link_args += [f"-F{SDL_BUNDLE_PATH}/.."]
376375
extra_link_args += ["-rpath", f"{SDL_BUNDLE_PATH}/.."]
377376
extra_link_args += ["-rpath", "/usr/local/opt/llvm/lib/"]

0 commit comments

Comments
 (0)