diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index dc10e08caf1d2a920d8658d9476cb87bdcc688f6..019ad069641486e2499c90ae3bbed0680eb814e9 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)