From 2054fda6d1dea9a0310f817492dfd743357372ad Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 13 Mar 2024 05:40:10 +0100 Subject: [PATCH] lvgl: Build shared library Build LVGL as shared library instead of static library. In case there are multiple applications linking against LVGL, this is more efficient, and it also makes it possible to update only the LVGL library separately from the applications. Signed-off-by: Marek Vasut Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb index bdd61d891f..d147e89203 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb @@ -14,7 +14,7 @@ PV .= "+git${SRCPV}" inherit cmake -EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" +EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" S = "${WORKDIR}/git" ALLOW_EMPTY:${PN} = "1"