libretro: fix makefile compile

This commit is contained in:
OV2 2018-05-26 16:10:55 +02:00
parent 671c124e24
commit 614e4ba106
2 changed files with 5 additions and 4 deletions

View File

@ -56,7 +56,7 @@ ifneq (,$(findstring unix,$(platform)))
CC = gcc CC = gcc
SHARED := -shared -z defs SHARED := -shared -z defs
else else
SHARED := -shared -Wl,--version-script=link.T SHARED := -shared -Wl,--version-script=link.T -Wl,-z,defs
endif endif
ifneq ($(findstring Haiku,$(shell uname -a)),) ifneq ($(findstring Haiku,$(shell uname -a)),)
LIBS := LIBS :=

View File

@ -41,6 +41,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \
$(CORE_DIR)/stream.cpp \ $(CORE_DIR)/stream.cpp \
$(CORE_DIR)/sa1.cpp \ $(CORE_DIR)/sa1.cpp \
$(CORE_DIR)/sa1cpu.cpp \ $(CORE_DIR)/sa1cpu.cpp \
$(CORE_DIR)/screenshot.cpp\
$(CORE_DIR)/sdd1.cpp \ $(CORE_DIR)/sdd1.cpp \
$(CORE_DIR)/sdd1emu.cpp \ $(CORE_DIR)/sdd1emu.cpp \
$(CORE_DIR)/seta.cpp \ $(CORE_DIR)/seta.cpp \
@ -52,7 +53,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \
$(CORE_DIR)/spc7110.cpp \ $(CORE_DIR)/spc7110.cpp \
$(CORE_DIR)/srtc.cpp \ $(CORE_DIR)/srtc.cpp \
$(CORE_DIR)/tile.cpp \ $(CORE_DIR)/tile.cpp \
$(CORE_DIR)/sha256.cpp \ $(CORE_DIR)/sha256.cpp \
$(CORE_DIR)/bml.cpp \ $(CORE_DIR)/bml.cpp \
$(CORE_DIR)/movie.cpp \ $(CORE_DIR)/movie.cpp \
$(CORE_DIR)/libretro/libretro.cpp $(CORE_DIR)/libretro/libretro.cpp