@@ -20,6 +20,19 @@ EXTRA_OECONF += " \
--with-cairo=yes \
--with-glib=yes \
"
-
+LIBS_HARFBUZZ = "libc libfreetype libglib-2.0 libgobject-2.0"
+LIBS_SHAPE = "libc libfreetype libgcc-s libglib-2.0 libharfbuzz libm libstdc++"
+LIBS_VIEW = "libc libcairo libfreetype libgcc-s libglib-2.0 libharfbuzz libm libstdc++"
+LIBS_OTSC = "libc libfreetype libgcc-s libglib-2.0 libharfbuzz libm libstdc++"
+
+DEPENDS_${PN} += "${LIBS_HARFBUZZ}"
+DEPENDS_${PN}-hb-shape += "${LIBS_SHAPE}"
+DEPENDS_${PN}-hb-view += "${LIBS_VIEW}"
+DEPENDS_${PN}-hb-ot-shape-closure += "${LIBS_OTSC}"
+
+RDEPENDS_${PN} += "${LIBS_HARFBUZZ}"
+RDEPENDS_${PN}-hb-shape += "${LIBS_SHAPE}"
+RDEPENDS_${PN}-hb-view += "${LIBS_VIEW}"
+RDEPENDS_${PN}-hb-ot-shape-closure += "${LIBS_OTSC}"
AUTO_PACKAGE_UTILS = "hb-shape hb-view hb-ot-shape-closure"