diff mbox series

[oe,meta-webserver,5/6] monkey: Link in libexecinfo on musl

Message ID 20170714183456.22548-5-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-filesystems,1/6] unionfs-fuse: Fix build with musl | expand

Commit Message

Khem Raj July 14, 2017, 6:34 p.m. UTC
Needed for backtrace() APIs

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.13.3

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
index be8ed37b9..02d4040dd 100644
--- a/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
+++ b/meta-webserver/recipes-httpd/monkey/monkey_1.5.6.bb
@@ -7,6 +7,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
 
 SECTION = "net"
 
+DEPENDS_append_libc-musl = " libexecinfo"
+
 SRC_URI = "http://monkey-project.com/releases/1.5/monkey-${PV}.tar.gz \
            file://monkey.service \
            file://monkey.init"
@@ -24,7 +26,13 @@  EXTRA_OECONF = "--plugdir=${libdir}/monkey/ \
                 --disable-plugins=mbedtls \
                 --debug \
                 --malloc-libc"
+
+EXTRA_OEMAKE += "LIBS='${LIBS}'"
+
 DISABLE_STATIC = ""
+CLEANBROKEN = "1"
+
+LIBS_append_libc-musl = " -lexecinfo"
 
 inherit autotools-brokensep pkgconfig update-rc.d systemd