xcb: Add all the libraries to the link line explicitly
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 30 Oct 2016 16:44:49 +0000 (17:44 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 30 Oct 2016 20:55:03 +0000 (21:55 +0100)
Avoid an underlink issue on recent distributions.

CC: libav-stable@libav.org
configure

index c7185e3..8c2b4fd 100755 (executable)
--- a/configure
+++ b/configure
@@ -4786,8 +4786,8 @@ if enabled libxcb; then
             enabled libxcb_xfixes && die "ERROR: libxcb_xfixes not found";
         } && enable libxcb_xfixes
 
-    add_cflags "$xcb_event_cflags $xcb_shm_cflags $xcb_xfixes_cflags"
-    add_extralibs "$xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs"
+    add_cflags "$xcb_shape_cflags $xcb_event_cflags $xcb_shm_cflags $xcb_xfixes_cflags"
+    add_extralibs "$xcb_shape_libs $xcb_event_libs $xcb_shm_libs $xcb_xfixes_libs"
 fi
 
 enabled vaapi && require vaapi va/va.h vaInitialize -lva