From 5e7ee914a6566425983949626f21f1b3a7678fc6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 23 Mar 2024 20:08:00 -0700 Subject: openflow: Fix build with musl Link in external library to provide backtrace functions since they are not part of C library Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/openflow/openflow_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-protocols/openflow/openflow_git.bb b/meta-networking/recipes-protocols/openflow/openflow_git.bb index eadfc2546..41bedcd0c 100644 --- a/meta-networking/recipes-protocols/openflow/openflow_git.bb +++ b/meta-networking/recipes-protocols/openflow/openflow_git.bb @@ -35,6 +35,9 @@ EXTRA_OECONF += " \ ${@bb.utils.contains('PACKAGECONFIG', 'openssl', 'SSL_LIBS="-lssl -lcrypto"', '', d)} \ " +DEPENDS:append:libc-musl = " libexecinfo" +LDFLAGS:append:libc-musl = " -lexecinfo" + S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig -- cgit v1.2.3-54-g00ecf