[vlc-commits] video_splliter: Add XCB flags for panoramix.

Vinson Lee git at videolan.org
Wed Oct 12 23:05:14 CEST 2016


vlc/vlc-2.2 | branch: master | Vinson Lee <vlee at freedesktop.org> | Sat Aug 20 06:02:27 2016 +0000| [b123f94b8593cf2f97680c96cb0f444e3efa400a] | committer: Jean-Baptiste Kempf

video_splliter: Add XCB flags for panoramix.

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>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit a854dc7108cdb70b5f58a1232868c74ad3620c99)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=b123f94b8593cf2f97680c96cb0f444e3efa400a
---

 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 f0e023c..4998c71 100644
--- a/modules/video_splitter/Makefile.am
+++ b/modules/video_splitter/Makefile.am
@@ -15,8 +15,8 @@ if HAVE_WIN32
 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



More information about the vlc-commits mailing list