Skip to content

Commit

Permalink
Skip thumbnail features with menu disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos committed Nov 14, 2024
1 parent f9ecd68 commit 75b8284
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -336,13 +336,17 @@ OBJ += \
gfx/video_driver.o \
gfx/gfx_display.o \
gfx/gfx_animation.o \
gfx/gfx_thumbnail_path.o \
gfx/gfx_thumbnail.o \
configuration.o \
$(LIBRETRO_COMM_DIR)/dynamic/dylib.o \
cores/dynamic_dummy.o \
$(LIBRETRO_COMM_DIR)/queues/message_queue.o

ifeq ($(HAVE_MENU), 1)
OBJ += \
gfx/gfx_thumbnail_path.o \
gfx/gfx_thumbnail.o
endif

ifeq ($(HAVE_MICROPHONE), 1)
DEFINES += -DHAVE_MICROPHONE
OBJ += audio/microphone_driver.o
Expand Down Expand Up @@ -2166,9 +2170,12 @@ ifeq ($(HAVE_NETWORKING), 1)
tasks/task_http.o \
tasks/task_netplay_lan_scan.o \
tasks/task_netplay_nat_traversal.o \
tasks/task_pl_thumbnail_download.o \
tasks/task_netplay_find_content.o

ifeq ($(HAVE_MENU), 1)
OBJ += tasks/task_pl_thumbnail_download.o
endif

ifeq ($(HAVE_MENU_COMMON), 1)
OBJ += tasks/task_core_updater.o
endif
Expand Down

0 comments on commit 75b8284

Please sign in to comment.