summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-18 17:45:41 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2014-12-14 23:26:15 +0800
commit9ddeff9ecafe47a8897f303991174ac07b91ae23 (patch)
tree5c79bcecbcc4ffdf3b058cc6a7ba245ca004bc49
parent5804f09952040b728a9efc19abc3dc732ad121c1 (diff)
downloadlibva-intel-driver-9ddeff9ecafe47a8897f303991174ac07b91ae23.tar.gz
libva-intel-driver-9ddeff9ecafe47a8897f303991174ac07b91ae23.tar.bz2
libva-intel-driver-9ddeff9ecafe47a8897f303991174ac07b91ae23.zip
configure: use ${libdir} over the hardcoded /usr/lib
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 42875ab..d2f7df9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,7 +132,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)