mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 15:00:09 +00:00
GLX: fix build when dri2 is not available.
This commit is contained in:
@@ -22,9 +22,12 @@ INCLUDES = \
|
||||
-I$(top_srcdir)/hw/xfree86/os-support/bus \
|
||||
-I$(top_srcdir)/hw/xfree86/common \
|
||||
-I$(top_srcdir)/hw/xfree86/dri \
|
||||
-I$(top_srcdir)/hw/xfree86/dri2 \
|
||||
-I$(top_srcdir)/mi
|
||||
|
||||
if DRI2
|
||||
INCLUDES += -I$(top_srcdir)/hw/xfree86/dri2
|
||||
endif
|
||||
|
||||
glapi_sources = \
|
||||
indirect_dispatch.c \
|
||||
indirect_dispatch.h \
|
||||
@@ -47,10 +50,13 @@ glapi_sources = \
|
||||
|
||||
libglxdri_la_SOURCES = \
|
||||
glxdri.c \
|
||||
glxdri2.c \
|
||||
extension_string.c \
|
||||
extension_string.h
|
||||
|
||||
if DRI2
|
||||
libglxdri_la_SOURCES = glxdri2.c
|
||||
endif
|
||||
|
||||
libglx_la_SOURCES = \
|
||||
$(indirect_sources) \
|
||||
$(glapi_sources) \
|
||||
|
||||
Reference in New Issue
Block a user