Fixing typo in Makefile for CI actions.
This commit is contained in:
parent
1fd0e98208
commit
fdf9a26f11
|
@ -13,7 +13,7 @@ jobs:
|
||||||
container: devkitpro/devkita64:latest
|
container: devkitpro/devkita64:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: apt update && apt -y install libfreetype6-dev tree
|
- run: apt update && apt -y install libfreetype6-dev
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Update repo.
|
- name: Update repo.
|
||||||
run: |
|
run: |
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -68,12 +68,13 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions #-DDEBUG=1 -DEXPERIMENTAL=1
|
||||||
ASFLAGS := -g $(ARCH)
|
ASFLAGS := -g $(ARCH)
|
||||||
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
|
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
|
||||||
|
|
||||||
nodebug = ${NODEBUG}
|
LIBS_REAL = stdc++fs SDL2_ttf SDL2_image png jpeg freetype webp z bz2 config nx mupdf mupdf-third
|
||||||
ifdef nodebug
|
## LIBS_REAL += mupdf_core mupdf_thirdparty
|
||||||
LIBS := -lstdc++fs -lSDL2_ttf -lSDL2_image -lpng -ljpeg `sdl2-config --libs` -lfreetype -lwebp -lz -lbz2 -lconfig -lnx -lmupdf -lmupdf-third #-lmupdf_core -lmupdf_thirdparty
|
|
||||||
else
|
ifeq (,$(NODEBUG))
|
||||||
LIBS := -lstdc++fs -lSDL2_ttf -lSDL2_image -lpng -ljpeg `sdl2-config --libs` -lfreetype -lwebp -lz -lbz2 -ltwili -lconfig -lnx -lmupdf -lmupdf-third #-lmupdf_core -lmupdf_thirdparty
|
LIBS_REAL += twili
|
||||||
endif
|
endif
|
||||||
|
LIBS = $(addprefix -l,$(LIBS_REAL)) $(shell sdl2-config --libs)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# list of directories containing libraries, this must be the top level containing
|
# list of directories containing libraries, this must be the top level containing
|
||||||
|
|
Loading…
Reference in New Issue