[FFmpeg-cvslog] Use -lX11 -lXext when linking Xv output device.

Carl Eugen Hoyos git at videolan.org
Thu May 30 13:15:09 CEST 2013


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu May 30 13:13:57 2013 +0200| [b3af9242d013cea1c55f20139316280596332eba] | committer: Carl Eugen Hoyos

Use -lX11 -lXext when linking Xv output device.

Reviewed-by: Stefano Sabatini

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3af9242d013cea1c55f20139316280596332eba
---

 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 63d7ebb..be20646 100755
--- a/configure
+++ b/configure
@@ -2085,7 +2085,7 @@ v4l2_outdev_deps_any="linux_videodev2_h sys_videoio_h"
 vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines"
 vfwcap_indev_extralibs="-lavicap32"
 xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
-xv_outdev_extralibs="-lXv"
+xv_outdev_extralibs="-lXv -lX11 -lXext"
 x11grab_indev_deps="x11grab"
 
 # protocols
@@ -3984,7 +3984,7 @@ check_func_headers windows.h SetConsoleTextAttribute
 check_func_headers windows.h Sleep
 check_func_headers windows.h VirtualAlloc
 check_func_headers glob.h glob
-check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv
+check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
 
 check_header cl/cl.h
 check_header direct.h



More information about the ffmpeg-cvslog mailing list