mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
build: link video_mode_select on every Linux build, not just Wayland
06aed75 made mutter_displayconfig.c call video_mode_list_finish but
only added gfx/common/video_mode_select.o under HAVE_WAYLAND, so every
Linux build without Wayland (the plain Linux job and linux-c89) failed
at link time with an undefined reference from
mutter_displayconfig_get_resolution_list.
video_mode_select.c is plain C with no platform dependency, so it goes
in the base object list next to video_driver.o, and the same include
moves next to video_driver.c in griffin.
This commit is contained in:
1 parent
7c8e7b4230
commit
a2b99b09b5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -330,6 +330,7 @@ OBJ += \
|
||||
input/common/input_hid_common.o \
|
||||
led/led_driver.o \
|
||||
gfx/video_driver.o \
|
||||
gfx/common/video_mode_select.o \
|
||||
gfx/gfx_display.o \
|
||||
gfx/gfx_animation.o \
|
||||
gfx/gfx_instrument.o \
|
||||
@@ -1352,7 +1353,6 @@ ifeq ($(HAVE_WAYLAND), 1)
|
||||
gfx/common/wayland_color.o \
|
||||
gfx/common/wayland/kde-output-device-v2.o \
|
||||
gfx/common/wayland/kde-output-management-v2.o \
|
||||
gfx/common/video_mode_select.o \
|
||||
gfx/common/wayland_kwin_output.o \
|
||||
gfx/common/wayland/wlr-output-management-unstable-v1.o \
|
||||
gfx/common/wayland_wlr_output.o \
|
||||
|
||||
+1
-1
@@ -280,6 +280,7 @@ CHEATS
|
||||
#include "../libretro-common/hash/lrc_hash.c"
|
||||
|
||||
#include "../gfx/video_driver.c"
|
||||
#include "../gfx/common/video_mode_select.c"
|
||||
/*============================================================
|
||||
UI COMMON CONTEXT
|
||||
============================================================ */
|
||||
@@ -1475,7 +1476,6 @@ THREAD
|
||||
|| defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
#include "../gfx/common/dbus_runtime.c"
|
||||
#include "../gfx/common/dbus_common.c"
|
||||
#include "../gfx/common/video_mode_select.c"
|
||||
#include "../gfx/common/mutter_displayconfig.c"
|
||||
#include "../frontend/thread_elevation/rtkit.c"
|
||||
#include "../frontend/thread_elevation/eevdf.c"
|
||||
|
||||
Reference in new issue
Block a user