Patchwork [meta-oe] proxy-libintl: Put .a in -dev package and allow empty main package

login
register
mail settings
Submitter Khem Raj
Date July 17, 2013, 3:17 p.m.
Message ID <1374074235-3571-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/53879/
State Accepted, archived
Commit e3be93c05343e1edd8ef7e49f36a5ea7b31897db
Headers show

Comments

Khem Raj - July 17, 2013, 3:17 p.m.
This helps in staging the library when it is asked for
via dependencies otherwise its missing in staging sysroot
even though its built its stashed into -staticdev package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../proxy-libintl/proxy-libintl_20100902.bb        |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
index 451a3c6..e1531dd 100644
--- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
+++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
@@ -14,8 +14,10 @@  SRC_URI[md5sum] = "aef407c2b97ee829383aadd867c61d1e"
 SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91"
 
 S = "${WORKDIR}"
+PACKAGES = "${PN} ${PN}-dev"
 FILES_${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
-
+INSANE_SKIP_${PN}-dev = "staticdev"
+ALLOW_EMPTY_${PN} = "1"
 CFLAGS_append = " -fPIC -Wall -I ../../include ${@['-DSTUB_ONLY', ''][d.getVar('USE_NLS', 1) != 'no']}"
 TARGET_CC_ARCH += "${LDFLAGS}"