-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabled menu buildfixes #17184
Disabled menu buildfixes #17184
Conversation
This partially close #16880 (comment), not the entire issue. |
What errors are remaining that prevent the building? Warnings don't count. |
Both cases are not related to #16929 , so It's too early to close linked issue until they are resolved. |
Sure, any kind of thumbnail download task thing makes absolutely zero sense with menu disabled, so the whole file should not be included at all. I saw it sure, but it only warns here. |
For successful build, even with overhead, diff --git a/tasks/task_pl_thumbnail_download.c b/tasks/task_pl_thumbnail_download.c
index 71b397e87a..359c909200 100644
--- a/tasks/task_pl_thumbnail_download.c
+++ b/tasks/task_pl_thumbnail_download.c
@@ -32,6 +32,7 @@
#include "../configuration.h"
#include "../file_path_special.h"
#include "../playlist.h"
+#include "../runloop.h"
#include "../verbosity.h"
#ifdef RARCH_INTERNAL |
Nice, but let's do this instead diff --git a/Makefile.common b/Makefile.common
index c73350c8b6..f3ca6f44bc 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -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
@@ -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 |
Great! Now it compiles correctly and works on Arch, but only with an explicit |
No description provided.