Skip to content

Commit

Permalink
add linker path for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jwt2706 committed May 9, 2024
1 parent 159ae98 commit 3a9f1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
ls /opt/homebrew/Cellar/sdl2/2.30.2/include/SDL2
- name: Build for macOS
run: |
gcc -o Chip8Interpreter src/*.c -I/opt/homebrew/Cellar/sdl2/2.30.2/include -lSDL2 -lm
gcc -o Chip8Interpreter src/*.c -I/opt/homebrew/Cellar/sdl2/2.30.2/include -L/opt/homebrew/Cellar/sdl2/2.30.2/lib -lSDL2 -lm
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 3a9f1ea

Please sign in to comment.