mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
fix libretro compile error
This commit is contained in:
parent
0159102a19
commit
15b6111e8a
@ -17,6 +17,8 @@ INCFLAGS += \
|
||||
-I$(CORE_DIR) \
|
||||
-I$(COMMONDIR) \
|
||||
-I$(CORE_DIR)/libretro \
|
||||
-I$(EXTDIR)/libadrenotools/lib/linkernsbypass \
|
||||
-I$(EXTDIR)/libadrenotools/include \
|
||||
-I$(EXTDIR)/openxr \
|
||||
-I$(EXTDIR)/glslang \
|
||||
-I$(EXTDIR)/glslang-build \
|
||||
@ -566,6 +568,14 @@ SOURCES_CXX += $(COMMONDIR)/MemArenaPosix.cpp \
|
||||
$(EXTDIR)/glslang/glslang/OSDependent/Unix/ossource.cpp
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm64)
|
||||
SOURCES_CXX += \
|
||||
$(EXTDIR)/libadrenotools/src/driver.cpp \
|
||||
$(EXTDIR)/libadrenotools/lib/linkernsbypass/android_linker_ns.cpp \
|
||||
$(EXTDIR)/libadrenotools/lib/linkernsbypass/elf_soname_patcher.cpp
|
||||
endif
|
||||
|
||||
SOURCES_CXX += \
|
||||
$(COMMONDIR)/Render/Text/draw_text.cpp \
|
||||
$(EXTDIR)/jpge/jpgd.cpp \
|
||||
|
@ -77,7 +77,7 @@ COREFLAGS += -DINLINE="inline" -DPPSSPP -DUSE_FFMPEG -DWITH_UPNP -DMOBILE_DEVICE
|
||||
LOCAL_SRC_FILES = $(SOURCES_CXX) $(SOURCES_C) $(ASMFILES)
|
||||
LOCAL_CPPFLAGS := -Wall -std=c++17 $(COREFLAGS) -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS $(DEFINES)
|
||||
LOCAL_CFLAGS := -O2 -DANDROID $(COREFLAGS) $(DEFINES)
|
||||
LOCAL_LDLIBS += -lz -llog -lGLESv2 -lEGL -latomic
|
||||
LOCAL_LDLIBS += -lz -landroid -lGLESv2 -lOpenSLES -lEGL -ldl -llog -latomic
|
||||
LOCAL_STATIC_LIBRARIES += $(FFMPEGLIBS)
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
@ -2,4 +2,4 @@ NDK_TOOLCHAIN_VERSION ?= 4.8
|
||||
APP_ABI := armeabi-v7a,arm64-v8a,x86
|
||||
APP_STL := c++_static
|
||||
APP_GNUSTL_CPP_FEATURES := exceptions
|
||||
APP_PLATFORM := android-9
|
||||
APP_PLATFORM := android-21
|
||||
|
Loading…
Reference in New Issue
Block a user