Skip to contentSkip to conversation

proxy-libintl: Put .a in -dev package and allow empty main package

PATCH New Khem Raj 1 participant 1 message Jul 17, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 proxy-libintl: Put .a in -dev package and allow empty main package

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

---
 .../proxy-libintl/proxy-libintl_20100902.bb        |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb +3 -1
index 451a3c6..e1531dd 100644
@@ -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}"
 
Signature · 1 line
1.7.9.5