From d30990f519667c35585f88f849afc5c59bf411bf Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 4 Jul 2023 15:00:12 -0700 Subject: libcoap: Build linker symbol file explicitly Since we autoreconf, it should be better to build the linker map file too, which requires ctags during build. This is otherwise flagged as error by lld linker where we specify a linker symbol file on cmdline but the file is not there. Fixes | libtool: error: symbol file './libcoap-3.sym' does not exist Signed-off-by: Khem Raj --- meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb index 0fc342560a..efea3fab74 100644 --- a/meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb +++ b/meta-networking/recipes-devtools/libcoap/libcoap_4.3.1.bb @@ -16,6 +16,8 @@ S = "${WORKDIR}/git" inherit autotools manpages pkgconfig ptest +DEPENDS += "ctags-native" + PACKAGECONFIG ?= "\ async openssl tcp \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ @@ -42,6 +44,10 @@ python () { export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" +do_compile:prepend() { + oe_runmake update-map-file +} + do_install_ptest () { install -d ${D}${PTEST_PATH} install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest -- cgit 1.2.3-korg