Patchwork [meta-opie,06/17] opie-libqrsync: package static library

login
register
mail settings
Submitter lumag
Date Sept. 18, 2011, 11:23 a.m.
Message ID <1316344999-26642-7-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11663/
State Accepted, archived
Headers show

Comments

lumag - Sept. 18, 2011, 11:23 a.m.
Most of qt/opie libraries are normal shared libraries. libqrsync is
static lib, so it needs a special handle during packaging.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 recipes-opie/opie-libqrsync/opie-libqrsync.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/recipes-opie/opie-libqrsync/opie-libqrsync.inc b/recipes-opie/opie-libqrsync/opie-libqrsync.inc
index 02c21cb..ed657dd 100644
--- a/recipes-opie/opie-libqrsync/opie-libqrsync.inc
+++ b/recipes-opie/opie-libqrsync/opie-libqrsync.inc
@@ -13,3 +13,7 @@  do_install() {
         install -d ${D}${includedir}/
         install -m 0644 qrsync.h ${D}${includedir}/
 }
+
+# opie doesn't use staticdev packages and .a libraries
+# This package is an exception, so include .a in -dev
+FILES_${PN}-dev += "${libdir}/libqrsync.a"