[oe] [meta-oe] [PATCH 1/1] breakpad: install static library

Anders Darander anders at chargestorm.se
Mon Sep 29 13:10:30 UTC 2014


In order to build against breakpad when using an SDK, we need to also package
libbreakpad_client.a.

The SDK will then need to add breakpad-staticdev to TOOLCHAIN_TARGET_TASK.

Signed-off-by: Anders Darander <anders at chargestorm.se>
---
 meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
index 2c5941d..571e1d3 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
@@ -56,6 +56,9 @@ do_install_append() {
 
         install -d ${D}${includedir}/breakpad/third_party/lss
         install -m 0644 ${S}/src/third_party/lss/linux_syscall_support.h ${D}${includedir}/breakpad/third_party/lss/linux_syscall_support.h
+
+        install -d ${D}${libdir}
+        install -m 0644 ${S}/src/client/linux/libbreakpad_client.a ${D}${libdir}/libbreakpad_client.a
 }
 
 PACKAGES =+ "${PN}-minidump-upload ${PN}-sym-upload"
-- 
2.1.1




More information about the Openembedded-devel mailing list