mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user