[yocto] [meta-cgl][PATCH 4/6] makedumpfile: compile with shared libraries

Adrian Dudau adrian.dudau at enea.com
Mon Mar 14 08:12:24 PDT 2016


poky distro doesn't include static libraries by defaule anymore, so we
should use shared libraries. If at a later point it proves that we must
compile with static library we can override the no-static-libs include
in our distro definition.

Signed-off-by: Adrian Dudau <adrian.dudau at enea.com>
---
 meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb b/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
index 6c32306..21e0954 100644
--- a/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
+++ b/meta-cgl-common/recipes-cgl/makedumpfile/makedumpfile_1.5.8.bb
@@ -12,7 +12,7 @@ SRC_URI[makedumpfile.sha256sum] = "dd9c6c40c1ae6774b61bbe7b53f5ebbee9734f576d8ec
 
 DEPENDS = "zlib elfutils bzip2"
 
-EXTRA_OEMAKE = "TARGET=${TARGET_ARCH}"
+EXTRA_OEMAKE = "TARGET=${TARGET_ARCH} LINKTYPE=dynamic"
 
 do_install() {
 	install -d ${D}${bindir}/
-- 
1.9.1




More information about the yocto mailing list