1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

only build xinerama_common.o if it is enabled

This commit is contained in:
Brian S. Stephan 2017-04-25 22:14:22 -05:00
parent c51e4397b0
commit efe90a9f34

View File

@ -677,8 +677,10 @@ ifeq ($(HAVE_X11), 1)
input/drivers/x11_input.o \
gfx/common/dbus_common.o \
gfx/common/x11_common.o \
gfx/common/xinerama_common.o \
input/drivers_keyboard/keyboard_event_x11.o
ifeq ($(HAVE_XINERAMA), 1)
OBJ += gfx/common/xinerama_common.o
endif
LIBS += $(X11_LIBS) $(XEXT_LIBS) $(XF86VM_LIBS) $(XINERAMA_LIBS)
DEFINES += $(X11_CFLAGS) $(XEXT_CFLAGS) $(XF86VM_CFLAGS) $(XINERAMA_CFLAGS)