diff --git a/glamor/Makefile.am b/glamor/Makefile.am index c48802999..c631c530b 100644 --- a/glamor/Makefile.am +++ b/glamor/Makefile.am @@ -46,10 +46,14 @@ libglamor_la_SOURCES = \ glamor_compositerects.c\ glamor_utils.c\ glamor_utils.h\ - glamor_xv.c \ glamor_sync.c \ glamor.h +if XV +libglamor_la_SOURCES += \ + glamor_xv.c +endif + libglamor_egl_stubs_la_SOURCES = glamor_egl_stubs.c sdk_HEADERS = glamor.h