Skip to content

Commit b248dda

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! fixup! Fix CI regressions
1 parent 3030a85 commit b248dda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_sdl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def on_directive_handle(
269269

270270
for match in matches:
271271
if Path(match, "SDL3/SDL.h").is_file():
272-
SDL_INCLUDE = match
272+
SDL_INCLUDE = Path(match)
273273
break
274274
else:
275275
raise AssertionError(matches)
@@ -301,9 +301,9 @@ def get_cdef() -> tuple[str, dict[str, str]]:
301301
parser = SDLParser()
302302
parser.add_path(temp_dir)
303303
parser.add_path(SDL_INCLUDE)
304-
if Path(SDL_INCLUDE / "SDL3/SDL.h").exists(): # Regular path
304+
if Path(SDL_INCLUDE, "SDL3/SDL.h").exists(): # Regular path
305305
sdl3_header = "SDL3/SDL.h"
306-
elif Path(SDL_INCLUDE / "SDL.h").exists(): # Using MacOS dmg archive
306+
elif Path(SDL_INCLUDE, "SDL.h").exists(): # Using MacOS dmg archive
307307
sdl3_header = "SDL.h"
308308
else:
309309
raise AssertionError(SDL_INCLUDE)

0 commit comments

Comments
 (0)