diff --git a/Makefile.common b/Makefile.common index 665af8a096..86ab4ea8c0 100644 --- a/Makefile.common +++ b/Makefile.common @@ -853,6 +853,9 @@ ifeq ($(HAVE_VIDEO_LAYOUT), 1) gfx/video_layout/internal.o \ gfx/video_layout/scope.o \ gfx/video_layout/load.o + OBJ += \ + $(LIBRETRO_COMM_DIR)/formats/xml/rxml.o \ + deps/yxml/yxml.o endif ifeq ($(HAVE_STB_FONT), 1) @@ -1717,8 +1720,6 @@ endif OBJ += $(LIBRETRO_COMM_DIR)/formats/bmp/rbmp_encode.o \ $(LIBRETRO_COMM_DIR)/formats/json/jsonsax.o \ $(LIBRETRO_COMM_DIR)/formats/json/jsonsax_full.o \ - $(LIBRETRO_COMM_DIR)/formats/xml/rxml.o \ - deps/yxml/yxml.o \ $(LIBRETRO_COMM_DIR)/formats/image_transfer.o # Easter Egg diff --git a/griffin/griffin.c b/griffin/griffin.c index 890fe68093..9101548a7f 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -1485,8 +1485,10 @@ DEPENDENCIES /*============================================================ XML ============================================================ */ +#ifdef HAVE_VIDEO_LAYOUT #include "../libretro-common/formats/xml/rxml.c" #include "../deps/yxml/yxml.c" +#endif /*============================================================ AUDIO UTILS