mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Only compile menu_networking.c when HAVE_NETWORKING is defined
This commit is contained in:
parent
836ce3bfbb
commit
78f62806f9
@ -773,7 +773,6 @@ ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
menu/menu_content.o \
|
||||
menu/menu_entries.o \
|
||||
menu/menu_setting.o \
|
||||
menu/menu_networking.o \
|
||||
menu/widgets/menu_filebrowser.o \
|
||||
menu/widgets/menu_dialog.o \
|
||||
menu/widgets/menu_input_dialog.o \
|
||||
@ -1686,7 +1685,8 @@ ifeq ($(HAVE_NETWORKING), 1)
|
||||
tasks/task_netplay_find_content.o
|
||||
|
||||
ifeq ($(HAVE_MENU_COMMON), 1)
|
||||
OBJ += tasks/task_pl_thumbnail_download.o
|
||||
OBJ += tasks/task_pl_thumbnail_download.o \
|
||||
menu/menu_networking.o
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SSL), 1)
|
||||
|
@ -1231,7 +1231,9 @@ MENU
|
||||
#include "../menu/menu_cbs.c"
|
||||
#include "../menu/menu_content.c"
|
||||
|
||||
#if defined(HAVE_NETWORKING)
|
||||
#include "../menu/menu_networking.c"
|
||||
#endif
|
||||
|
||||
#include "../menu/widgets/menu_filebrowser.c"
|
||||
#include "../menu/widgets/menu_dialog.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user