From fb3f3f9b228194fe6256403e5a6792e05ce25552 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 16 Oct 2024 01:57:56 +0100 Subject: [PATCH] try --- .cirrus.yml | 4 ++++ raylib/build.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 9c65d6b..d6eb997 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,6 +8,10 @@ pi_task: - image: dtcooper/raspberrypi-os:python3.11-bullseye - image: dtcooper/raspberrypi-os:python3.10-bullseye - image: dtcooper/raspberrypi-os:python3.9-bullseye + env: + matrix: + - RAYLIB_PLATFORM: "Desktop" + - RAYLIB_PLATFORM: "SDL" setup_script: - apt update - apt -y install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev diff --git a/raylib/build.py b/raylib/build.py index ac0a217..d92b41d 100644 --- a/raylib/build.py +++ b/raylib/build.py @@ -169,7 +169,8 @@ def build_unix(): '-framework', 'IOKit', '-framework', 'CoreFoundation', '-framework', 'CoreVideo'] if USE_SDL2: - extra_link_args += ['/usr/local/lib/libSDL2.a', '-framework', 'CoreHaptics'] + extra_link_args += ['/usr/local/lib/libSDL2.a', '-framework', 'CoreHaptics', '-framework', 'ForceFeedback', + '-framework', 'GameController'] libraries = [] extra_compile_args = ["-Wno-error=incompatible-function-pointer-types", "-D_CFFI_NO_LIMITED_API"] else: #platform.system() == "Linux":