diff options
author | Christian König <[email protected]> | 2014-10-09 18:42:58 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2014-10-13 12:43:49 +0200 |
commit | d3004a267af1c2c408601665f41c2f7c5f699aa2 (patch) | |
tree | 74a35b5a2901205ec43671bf7ab7e912002e1a72 | |
parent | 5ce06d12ff83d84016f380323ea8d2fce380f4ec (diff) |
configure: respect $libdir for the OMX installation dir
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r-- | configure.ac | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index bc589b79a41..c37018fa340 100644 --- a/configure.ac +++ b/configure.ac @@ -1794,16 +1794,13 @@ AC_ARG_WITH([vdpau-libdir], [VDPAU_LIB_INSTALL_DIR='${libdir}/vdpau']) AC_SUBST([VDPAU_LIB_INSTALL_DIR]) -OMX_LIB_INSTALL_DIR_DEFAULT='' -if test "x$enable_omx" = xyes; then - OMX_LIB_INSTALL_DIR_DEFAULT=`$PKG_CONFIG --variable=pluginsdir libomxil-bellagio` -fi +dnl Directory for OMX libs AC_ARG_WITH([omx-libdir], [AS_HELP_STRING([--with-omx-libdir=DIR], [directory for the OMX libraries])], [OMX_LIB_INSTALL_DIR="$withval"], - [OMX_LIB_INSTALL_DIR="$OMX_LIB_INSTALL_DIR_DEFAULT"]) + [OMX_LIB_INSTALL_DIR=`$PKG_CONFIG --define-variable=libdir=\$libdir --variable=pluginsdir libomxil-bellagio`]) AC_SUBST([OMX_LIB_INSTALL_DIR]) dnl Directory for VA libs |