[MPlayer-dev-eng] [PATCH] External libass detection in mingw

Xidorn Quan quanxunzhen at gmail.com
Sat Jan 12 14:05:49 CET 2013


On Sat, Jan 12, 2013 at 7:28 PM, Josh <joshf87 at live.com> wrote:
> -        if cc_check -lass ; then
> -            res_comment="external"
> -            extra_ldflags="$extra_ldflags -lass"
> -        elif test "$ass_internal" = auto ; then
> +        for ld_ass in "-lass" "-lass -lfreetype" "-lass -lenca -lfreetype" ; do

I believe it should be better to use "$($_freetypeconfig --libs)"
instead of "-lfreetype" here.

> +          if cc_check $ld_ass ; then
> +              res_comment="external"
> +              extra_ldflags="$extra_ldflags $ld_ass"
> +          fi
> +        done
> +        if test "$ass_internal" = auto ; then
>              ass_internal=yes
>          else
>              _ass=no

-- 
Xidorn Quan
GnuPG fingerprint: 6F1E DF9A D250 7505 63E2  345E 7570 8D3F 7C9A 1209


More information about the MPlayer-dev-eng mailing list