Commit 836f93de authored by Fabrice Fontaine's avatar Fabrice Fontaine Committed by Adam Jackson

hw/xwayland/Makefile.am: fix build without glx

Commit d8ec33fe added libglxvnd.la to
Xwayland_LDFLAGS but GLX can be disabled through --disable-glx.
In this case, build fails on:

make[3]: *** No rule to make target '../../glx/libglxvnd.la', needed by 'Xwayland'.  Stop.
make[3]: *** Waiting for unfinished jobs....

Fixes:
 - http://autobuild.buildroot.org/results/397f8098c57fc6c88aa12dc8d35ebb1b933d52efSigned-off-by: Fabrice Fontaine's avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
parent 0854732d
......@@ -21,10 +21,14 @@ Xwayland_SOURCES = \
$(top_srcdir)/Xi/stubs.c \
$(top_srcdir)/mi/miinitext.c
if GLX
GLXVND_LIB = $(top_builddir)/glx/libglxvnd.la
endif
Xwayland_LDADD = \
$(glamor_lib) \
$(XWAYLAND_LIBS) \
$(top_builddir)/glx/libglxvnd.la \
$(GLXVND_LIB) \
$(XWAYLAND_SYS_LIBS) \
$(top_builddir)/Xext/libXvidmode.la \
$(XSERVER_SYS_LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment