Commit 8b76c292 authored by Austin Yuan's avatar Austin Yuan

Must link with Xv, orelse segment fault when XCloseDisplay

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 91455761
...@@ -37,6 +37,7 @@ AC_SYS_LARGEFILE ...@@ -37,6 +37,7 @@ AC_SYS_LARGEFILE
PKG_CHECK_MODULES([X11], [x11]) PKG_CHECK_MODULES([X11], [x11])
PKG_CHECK_MODULES([XEXT], [xext]) PKG_CHECK_MODULES([XEXT], [xext])
PKG_CHECK_MODULES([DRM], [libdrm]) PKG_CHECK_MODULES([DRM], [libdrm])
PKG_CHECK_MODULES([XV], [xv]) #neccessary, orelse segment fault when XCloseDisplay
PKG_CHECK_MODULES(LIBDRM_DEPS, [libdrm]) PKG_CHECK_MODULES(LIBDRM_DEPS, [libdrm])
# We only need the headers, we don't link against the DRM libraries # We only need the headers, we don't link against the DRM libraries
......
...@@ -27,7 +27,7 @@ INCLUDES = \ ...@@ -27,7 +27,7 @@ INCLUDES = \
libva_la_LTLIBRARIES = libva.la libva_la_LTLIBRARIES = libva.la
libva_ladir = $(libdir) libva_ladir = $(libdir)
libva_la_LDFLAGS = -version-number 0:30:0 -no-undefined libva_la_LDFLAGS = -version-number 0:30:0 -no-undefined
libva_la_LIBADD = $(LIBVA_LIBS) -ldl -ldrm -lX11 -lXext X11/libva_X11.la libva_la_LIBADD = $(LIBVA_LIBS) -ldl -ldrm -lX11 -lXext -lXv X11/libva_X11.la
SUBDIRS = X11 SUBDIRS = X11
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment