From 614e4ba10614a1e3acc129c0baa570e8aba052a4 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sat, 26 May 2018 16:10:55 +0200 Subject: [PATCH] libretro: fix makefile compile --- libretro/Makefile | 2 +- libretro/Makefile.common | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libretro/Makefile b/libretro/Makefile index e6ea40eb..75c6f453 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -56,7 +56,7 @@ ifneq (,$(findstring unix,$(platform))) CC = gcc SHARED := -shared -z defs else - SHARED := -shared -Wl,--version-script=link.T + SHARED := -shared -Wl,--version-script=link.T -Wl,-z,defs endif ifneq ($(findstring Haiku,$(shell uname -a)),) LIBS := diff --git a/libretro/Makefile.common b/libretro/Makefile.common index dd47ed3d..f2c4b4c9 100644 --- a/libretro/Makefile.common +++ b/libretro/Makefile.common @@ -41,6 +41,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \ $(CORE_DIR)/stream.cpp \ $(CORE_DIR)/sa1.cpp \ $(CORE_DIR)/sa1cpu.cpp \ + $(CORE_DIR)/screenshot.cpp\ $(CORE_DIR)/sdd1.cpp \ $(CORE_DIR)/sdd1emu.cpp \ $(CORE_DIR)/seta.cpp \ @@ -52,7 +53,7 @@ SOURCES_CXX := $(CORE_DIR)/apu/apu.cpp \ $(CORE_DIR)/spc7110.cpp \ $(CORE_DIR)/srtc.cpp \ $(CORE_DIR)/tile.cpp \ - $(CORE_DIR)/sha256.cpp \ - $(CORE_DIR)/bml.cpp \ - $(CORE_DIR)/movie.cpp \ + $(CORE_DIR)/sha256.cpp \ + $(CORE_DIR)/bml.cpp \ + $(CORE_DIR)/movie.cpp \ $(CORE_DIR)/libretro/libretro.cpp