libretro: fix 7zip/libz for static builds, add NEED_STRCASESTR to VITA

This commit is contained in:
Craig Carnell committed 2026-07-25 22:03:39 +01:00
1 parent c9cd6773e4
commit 756b381f33
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -307,6 +307,7 @@ else ifeq ($(platform), vita)
AR = arm-vita-eabi-ar$(EXE_EXT)
COMMONFLAGS += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
COMMONFLAGS += -DHAVE_STRTOUL -DVITA -fcommon
COMMONFLAGS += -DNEED_STRCASESTR
STATIC_LINKING = 1
# Emscripten
+1 -1
View File
@@ -437,7 +437,6 @@ SOURCES_C += \
$(RETRODEP)/video.c \
$(RETRODEP)/vsyncarch.c
ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
$(DEPS_DIR)/libz/adler32.c \
$(DEPS_DIR)/libz/crc32.c \
@@ -469,6 +468,7 @@ SOURCES_C += \
$(DEPS_DIR)/7zip/Lzma2Dec.c \
$(DEPS_DIR)/7zip/LzmaDec.c
ifneq ($(STATIC_LINKING), 1)
SOURCES_C += \
$(LIBRETRO_COMM_DIR)/compat/compat_strl.c \
$(LIBRETRO_COMM_DIR)/compat/compat_strcasestr.c \