diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mpv-config | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/mpv-config b/scripts/mpv-config index fcbab2c..fe9ce49 100755 --- a/scripts/mpv-config +++ b/scripts/mpv-config @@ -24,13 +24,13 @@ echo Using mpv options: "$@" cd "$BUILD"/mpv +# add missing private dependencies from libass.pc +# this is necessary due to the hybrid static / dynamic nature of the build +# need to link against stdc++ in case libplacebo was built with glslang, +# which requires that +export LDFLAGS="$LDFLAGS $(pkg-config --libs fontconfig harfbuzz fribidi) -lstdc++" if [ "$BUILDSYSTEM" = "waf" ]; then - # add missing private dependencies from libass.pc - # this is necessary due to the hybrid static / dynamic nature of the build - # need to link against stdc++ in case libplacebo was built with glslang, - # which requires that - export LDFLAGS="$LDFLAGS $(pkg-config --libs fontconfig harfbuzz fribidi) -lstdc++" python3 ./waf configure "$@" else - meson setup build -Dprefer_static=true -Dbuildtype=release "$@" + meson setup build -Dbuildtype=release "$@" fi |