[vlc-devel] [PATCH] video_splliter: Add XCB flags for panoramix.
Vinson Lee
vlee at freedesktop.org
Sat Aug 20 08:02:27 CEST 2016
This patch fixes this build error.
video_splitter/.libs/libpanoramix_plugin_la-panoramix.o: In function `CountMonitors':
modules/video_splitter/panoramix.c:352: undefined reference to `xcb_connect'
modules/video_splitter/panoramix.c:354: undefined reference to `xcb_connection_has_error'
modules/video_splitter/panoramix.c:357: undefined reference to `xcb_get_setup'
modules/video_splitter/panoramix.c:359: undefined reference to `xcb_setup_roots_iterator'
modules/video_splitter/panoramix.c:360: undefined reference to `xcb_screen_next'
modules/video_splitter/panoramix.c:407: undefined reference to `xcb_disconnect'
modules/video_splitter/panoramix.c:407: undefined reference to `xcb_disconnect'
modules/video_splitter/panoramix.c:407: undefined reference to `xcb_disconnect'
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
modules/video_splitter/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_splitter/Makefile.am b/modules/video_splitter/Makefile.am
index da32c520e13b..ffeb94e82f06 100644
--- a/modules/video_splitter/Makefile.am
+++ b/modules/video_splitter/Makefile.am
@@ -15,8 +15,8 @@ if HAVE_WIN32_DESKTOP
splitter_LTLIBRARIES += libpanoramix_plugin.la
else
if HAVE_XCB_RANDR
-libpanoramix_plugin_la_CFLAGS += $(XCB_RANDR_CFLAGS)
-libpanoramix_plugin_la_LIBADD += $(XCB_RANDR_LIBS)
+libpanoramix_plugin_la_CFLAGS += $(XCB_RANDR_CFLAGS) $(XCB_CFLAGS)
+libpanoramix_plugin_la_LIBADD += $(XCB_RANDR_LIBS) $(XCB_LIBS)
splitter_LTLIBRARIES += libpanoramix_plugin.la
endif
endif
--
2.9.2
More information about the vlc-devel
mailing list