summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2021-04-03 00:50:19 -0700
committerKevin Mitchell <kevmitch@gmail.com>2021-04-03 01:04:48 -0700
commitaf71eb6d5e1ff77d8f9ae9195312603ced5c5d87 (patch)
treeae404f99fb0d2d8bc2ccddb1b5823a5306dba1fc
parentabd0009b7a6ecef7ebc8cd956c494c22b77f0dd3 (diff)
downloadmpv-build-af71eb6d5e1ff77d8f9ae9195312603ced5c5d87.tar.bz2
mpv-build-af71eb6d5e1ff77d8f9ae9195312603ced5c5d87.tar.xz
manually add libass requires in mpv-config
This became necessary with libass/libass@c9c4fed39339ffde45123013a117e06d0bb9c488 fixes #152, #150
-rwxr-xr-xscripts/mpv-config4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mpv-config b/scripts/mpv-config
index 0c2a537..7acd085 100755
--- a/scripts/mpv-config
+++ b/scripts/mpv-config
@@ -18,6 +18,10 @@ case "$PKG_CONFIG_PATH" in
;;
esac
+# add missing private dependencies from libass.pc
+# this is necessary due to the hybrid static / dynamic nature of the build
+export LDFLAGS="$LDFLAGS $(pkg-config --libs fontconfig harfbuzz fribidi)"
+
echo Using mpv options: $OPTIONS
cd "$BUILD"/mpv