[Libva] [PATCH 3/9] configure: use ${libdir} over the hardcoded /usr/lib

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 18 09:45:41 PDT 2014


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f8ce348..65fe0e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,7 +127,7 @@ dnl Check for VA-API drivers path
 AC_MSG_CHECKING([for VA drivers path])
 LIBVA_DRIVERS_PATH=`$PKG_CONFIG libva --variable driverdir`
 if test -z "$LIBVA_DRIVERS_PATH"; then
-    LIBVA_DRIVERS_PATH="/usr/lib/xorg/modules/drivers"
+    LIBVA_DRIVERS_PATH="${libdir}/xorg/modules/drivers"
 fi
 AC_MSG_RESULT([$LIBVA_DRIVERS_PATH])
 AC_SUBST(LIBVA_DRIVERS_PATH)
-- 
2.1.0



More information about the Libva mailing list