[vlc-devel] [PATCH] Fix libass linking that always need freetype

Luca Barbato lu_zero at gentoo.org
Mon Nov 11 10:53:42 CET 2013


On 9/16/13 8:02 PM, Jean-Baptiste Kempf wrote:
> ---
>  modules/codec/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
> index dc10e08..019ad06 100644
> --- a/modules/codec/Makefile.am
> +++ b/modules/codec/Makefile.am
> @@ -122,7 +122,7 @@ liblibass_plugin_la_SOURCES = codec/libass.c
>  liblibass_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_libass)
>  liblibass_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBASS_CFLAGS)
>  liblibass_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
> -liblibass_plugin_la_LIBADD = $(LIBASS_LIBS) $(LIBS_libass)
> +liblibass_plugin_la_LIBADD = $(LIBASS_LIBS) $(LIBS_libass) $(LIBS_freetype)
>  EXTRA_LTLIBRARIES += liblibass_plugin.la
>  codec_LTLIBRARIES += $(LTLIBlibass)
>  

LIBS_freetype should be empty if freetype is not found, I guess there is
a platform in which freetype is found BUT not used by ass.

(I do hope it wasn't added because ass doesn't state its deps on .pc)

lu




More information about the vlc-devel mailing list