summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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