mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
Disable DRI3 and sync fence FD functions if xshmfence isn't available
Make sure the server can build when the xshmfence library isn't present Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
33c85beed5
commit
aaf0e29619
5 changed files with 67 additions and 3 deletions
|
|
@ -8,8 +8,13 @@ if XORG
|
|||
sdk_HEADERS = misync.h misyncstr.h misyncshm.h
|
||||
endif
|
||||
|
||||
XSHMFENCE_SRCS = misyncshm.c
|
||||
|
||||
libsync_la_SOURCES = \
|
||||
misync.c \
|
||||
misync.h \
|
||||
misyncshm.c \
|
||||
misyncstr.h
|
||||
|
||||
if XSHMFENCE
|
||||
libsync_la_SOURCES += $(XSHMFENCE_SRCS)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue