From 0aca0afa077d103628ab0ac3a4fa8c134f0c1763 Mon Sep 17 00:00:00 2001 From: markwkidd Date: Thu, 15 Nov 2018 10:38:24 -0500 Subject: [PATCH] fix libretro-db Makefile The current Makefile doesn't work. This patch comes via @grant2258 and originally from @natinusala and is intended to resolve https://github.com/libretro/RetroArch/issues/7586 --- libretro-db/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libretro-db/Makefile b/libretro-db/Makefile index 1a8824662c..6960cf1478 100644 --- a/libretro-db/Makefile +++ b/libretro-db/Makefile @@ -13,7 +13,10 @@ endif LIBRETRO_COMMON_C = \ $(LIBRETRO_COMM_DIR)/streams/file_stream.c \ - $(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c + $(LIBRETRO_COMM_DIR)/vfs/vfs_implementation.c \ + $(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \ + $(LIBRETRO_COMM_DIR)/compat/compat_strl.c \ + $(LIBRETRO_COMM_DIR)/compat/fopen_utf8.c C_CONVERTER_C = \ $(LIBRETRODB_DIR)/rmsgpack.c \ @@ -25,9 +28,7 @@ C_CONVERTER_C = \ $(LIBRETRO_COMM_DIR)/hash/rhash.c \ $(LIBRETRO_COMM_DIR)/compat/compat_fnmatch.c \ $(LIBRETRO_COMM_DIR)/string/stdstring.c \ - $(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \ - $(LIBRETRO_COMMON_C) \ - $(LIBRETRO_COMM_DIR)/compat/compat_strl.c + $(LIBRETRO_COMMON_C) C_CONVERTER_OBJS := $(C_CONVERTER_C:.c=.o) @@ -40,9 +41,7 @@ RARCHDB_TOOL_C = \ $(LIBRETRODB_DIR)/libretrodb.c \ $(LIBRETRO_COMM_DIR)/compat/compat_fnmatch.c \ $(LIBRETRO_COMM_DIR)/string/stdstring.c \ - $(LIBRETRO_COMM_DIR)/encodings/encoding_utf.c \ - $(LIBRETRO_COMMON_C) \ - $(LIBRETRO_COMM_DIR)/compat/compat_strl.c + $(LIBRETRO_COMMON_C) RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o)