Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftyawesome committed Jun 1, 2024
1 parent 1f92afa commit 354bfc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/switch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
wget https://github.com/devkitPro/pacman-packages/raw/master/switch/glu/LICENSE
dkp-pacman -S dkp-meson-scripts --noconfirm --needed
sudo -E -u builduser bash -c 'sudo chmod 777 . -R && dkp-makepkg -o --noconfirm'
sed -i "/value : 'glvnd'/c\ value : 'egl'," src/glu-9.0.3/meson_options.txt
sed -i "/value : 'glvnd'/c\ value : 'SDL2'," src/glu-9.0.3/meson_options.txt
sed -i "/choices : ['glvnd'/choices : ['SDL2'" src/glu-9.0.3/meson_options.txt
cat src/glu-9.0.3/meson_options.txt
sudo -E -u builduser bash -c 'dkp-makepkg -s -i --noconfirm'
rsync -a ./pkg/switch-glu/opt/devkitpro/ /opt/devkitpro/
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ REQUIRED_LIBS = glu libcurl sdl2 SDL2_mixer zlib libpng glapi SDL2_gfx egl
CFLAGS += $(shell $(PKGCONFIG) --cflags $(REQUIRED_LIBS))
LIBS += $(shell $(PKGCONFIG) --libs $(REQUIRED_LIBS))
INCLUDES += -I$(LIBNX)/include -I$(PORTLIBS)/include -I$(PORTLIBS)/include/SDL2 -I$(PORTLIBS)/include/GLAD -I$(PORTLIBS)/include/GLFW -I$(PORTLIBS)/include/GL
LDFLAGS += -lnx -lnxd -lSDL2
LDFLAGS += -lnx -lnxd

ifeq ($(STATIC),1)
CFLAGS += -static
Expand Down

0 comments on commit 354bfc3

Please sign in to comment.