Skip to content

Added harfbuzz as an additional dependency to gtk_deps in gtk/meson.build.

gtk/gtkfontchooserwidget.c has a reference to hb_ot_layout_script_find_language which is a symbol in libharfbuzz.so, but harfbuzz is not specified as a direct dependency of gtk/gtkfontchooserwidget.c causing (in my case) a linker error:

/usr/bin/ld: gtk/libgtk.a.p/gtkfontchooserwidget.c.o: undefined reference to symbol 'hb_ot_layout_script_find_language'
/home/felix/apps/install/lib/x86_64-linux-gnu/libharfbuzz.so.0: error adding symbols: DSO missing from command line

This patch fixes the problem by specifying harfbuzz as a direct dependency.

My system specs are: Ubuntu 18.04.5 LTS gcc (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0

Merge request reports