From 229d5b169b991a4907bcc6d1d41fd031689de979 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 26 Jun 2015 16:37:48 +0200 Subject: [PATCH] (libretro-db) Fix Makefile --- libretro-db/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libretro-db/Makefile b/libretro-db/Makefile index a739ba40d5..4b681c936c 100644 --- a/libretro-db/Makefile +++ b/libretro-db/Makefile @@ -1,5 +1,6 @@ CFLAGS = -g -INCFLAGS = -I. -I../libretro-common/include +LIBRETRO_COMMON_DIR := ../libretro-common +INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include LUA_CONVERTER_OBJ = rmsgpack.o \ rmsgpack_dom.o \ @@ -9,7 +10,7 @@ LUA_CONVERTER_OBJ = rmsgpack.o \ query.o \ lua_converter.o \ compat_fnmatch.c \ - $(NULL) + $(LIBRETRO_COMMON_DIR)/compat/compat.o RARCHDB_TOOL_OBJ = rmsgpack.o \ rmsgpack_dom.o \ @@ -18,7 +19,7 @@ RARCHDB_TOOL_OBJ = rmsgpack.o \ query.o \ libretrodb.o \ compat_fnmatch.c \ - $(NULL) + $(LIBRETRO_COMMON_DIR)/compat/compat.o TESTLIB_C = testlib.c \ lua_common.c \ @@ -28,7 +29,7 @@ TESTLIB_C = testlib.c \ bintree.c \ rmsgpack.c \ rmsgpack_dom.c \ - $(NULL) + $(LIBRETRO_COMMON_DIR)/compat/compat.o LUA_FLAGS = `pkg-config lua --libs` TESTLIB_FLAGS = ${CFLAGS} ${LUA_FLAGS} -shared -fpic