From b6c8692abdf2eeb0dc54b7fff26c0fd848b53c7f Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Fri, 18 Oct 2024 22:25:01 -0400 Subject: [PATCH] CI: Fix SDL2 rpath on libFNA3D.0.dylib --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fef720e9..52670c5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,7 +131,9 @@ jobs: run: cmake -B release -G Ninja . -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 - name: Build (Release) - run: ninja -C release + run: | + ninja -C release + install_name_tool -change /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib @rpath/libSDL2-2.0.0.dylib release/libFNA3D.0.dylib - name: Archive build result uses: actions/upload-artifact@v4