From ab11845564675010530eeca86fd26aaa566606d6 Mon Sep 17 00:00:00 2001 From: tte_zheng_wenlong Date: Thu, 19 Jan 2017 14:28:14 +0900 Subject: Fix "No GNU_HASH in the elf binary" erro Adding TARGET_CC_ARCH += "${LDFLAGS}" to the recipe. reference to Yocto Project Reference Manual 2.2. Change-Id: Iaef0f5152a2e509168a5c25eb2e3ab02f895504d Signed-off-by: tte_zheng_wenlong --- meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oem-extra-libs/recipes-support') diff --git a/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb b/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb index 3f99cc15..2833c19d 100644 --- a/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb +++ b/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb @@ -36,6 +36,8 @@ FILES_${PN}-dev = "${exec_prefix}/include/mongoose.h" FILES_${PN}-doc = "${exec_prefix}/share/doc/*" +TARGET_CC_ARCH += "${LDFLAGS}" + do_compile() { if [ "${@bb.utils.contains('MONGOOSE_EXLIBS', 'libmongoose.so', 'def', '', d)}" = "def" ]; then -- cgit 1.2.3-korg