The HW specific driver depends on "-lXfixes -lXdamage" to do correct display 27/327/1
authorAustin Yuan <shengquan.yuan@intel.com>
Fri, 14 Mar 2008 22:44:32 +0000 (18:44 -0400)
committerAustin Yuan <shengquan.yuan@intel.com>
Fri, 14 Mar 2008 22:44:32 +0000 (18:44 -0400)
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

index b3eb073..11d9e77 100644 (file)
@@ -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