From 36cd169f6b1ed9e5f326bfed2d1b1d21fa4ef6ae Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 23 Oct 2012 17:01:59 +0200 Subject: Fix compilation on systems where autoconf will use lib64 instead of lib At least on openSUSE 12.2 x86_64, autoconf will install libass' library files into build_libs/lib64. Since we set PKG_CONFIG_PATH to build_libs/lib/pkgconfig, mpv compilation won't find the libass.pc file. Even worse, if libass is globally installed too, mpv will still use the local libass headers in build_libs/include, while linking with the globally installed libass. Fix by forcing autoconf always to use build_libs/lib. --- scripts/libass-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libass-config b/scripts/libass-config index 5644d6a..d27d769 100755 --- a/scripts/libass-config +++ b/scripts/libass-config @@ -5,4 +5,4 @@ OPTIONS="" BUILD="$(pwd)" cd "$BUILD"/libass -./autogen.sh --prefix="$BUILD/build_libs" --enable-static --disable-shared $OPTIONS +./autogen.sh --prefix="$BUILD/build_libs" --libdir="$BUILD/build_libs/lib" --enable-static --disable-shared $OPTIONS -- cgit v1.2.3