From e9a72caabb78327fb39b2be09824fbf78a357a69 Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Fri, 14 Mar 2008 18:44:32 -0400 Subject: [PATCH] The HW specific driver depends on "-lXfixes -lXdamage" to do correct display under rotation mode, but a issue is found that after vaTerminate, XCloseDisplay will meet a SIGSEGV, and debuging shows libXdamage is unloaded from application address space after vaTerminate, and keeping libXdamage all along can workaround this issue. So always link libva with libXdamage here --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index b3eb073..11d9e77 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -23,7 +23,7 @@ libva_la_LTLIBRARIES = libva.la libva_ladir = $(libdir) libva_la_LDFLAGS = -version-number 0:29:0 -no-undefined -libva_la_LIBADD = -ldl -lX11 -lXext +libva_la_LIBADD = -ldl -lX11 -lXext -lXfixes -lXdamage libva_la_SOURCES = va_dri.c va.c va_dristr.h -- 2.7.4