From 8c738d89dd971cb014f5049f7d1ff679cef03800 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 7 Aug 2023 11:08:11 -0700 Subject: [PATCH] qtapplicationmanager: Fix build with musl execinfo is not part of main C library on musl, but we do have a package providing that, therefore depend on it when using musl. Change-Id: I99b1651b5a8096a3014be3588a84e21ddac1c761 Reviewed-by: Samuli Piippo --- recipes-qt/qt6/qtapplicationmanager_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-qt/qt6/qtapplicationmanager_git.bb b/recipes-qt/qt6/qtapplicationmanager_git.bb index 1c005c6..d448044 100644 --- a/recipes-qt/qt6/qtapplicationmanager_git.bb +++ b/recipes-qt/qt6/qtapplicationmanager_git.bb @@ -14,6 +14,8 @@ include recipes-qt/qt6/qt6-git.inc include recipes-qt/qt6/qt6.inc DEPENDS += "qtbase qtdeclarative libyaml libarchive qtapplicationmanager-native" +DEPENDS:append:libc-musl = " libexecinfo" +LDFLAGS:append:libc-musl = " -lexecinfo" RDEPENDS:${PN}:class-target = "libcrypto ${PN}-tools" PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'multi-process', '', d)}"