summaryrefslogtreecommitdiff
path: root/meta/recipes-support/nspr
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2012-04-13 18:04:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-14 09:33:54 +0100
commitbe298b6f0168bbd6baf90602da35904c441deade (patch)
treebc3961d6952b25930b4419525d32677a1ee0c4bf /meta/recipes-support/nspr
parente37391a949fb0a6edf87eb910e93a17caf309119 (diff)
downloadopenembedded-core-be298b6f0168bbd6baf90602da35904c441deade.tar.gz
openembedded-core-be298b6f0168bbd6baf90602da35904c441deade.tar.bz2
openembedded-core-be298b6f0168bbd6baf90602da35904c441deade.zip
nspr: fix package spliting
Here /usr/lib/lib*.so files are binaries rather than symbol links. We should package them into ${PN} rather than ${PN}-dev, or else, when a package, that rdepends on nspr, is packaged, we get a "non-dev package rdepends on nspr-dev" ERROR. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r--meta/recipes-support/nspr/nspr_4.8.9.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
index f70c2c1e45..10b5d12688 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
SECTION = "libs/network"
-PR = "r3"
+PR = "r4"
SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
file://remove-rpath-from-tests.patch \
@@ -162,6 +162,7 @@ do_install_append() {
install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
}
-FILES_${PN} = "${bindir}/*"
-FILES_${PN}-dev += "${libdir}/nspr/tests/*"
+FILES_${PN} = "${bindir}/* ${libdir}/lib*.so"
+FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \
+ ${includedir}/* ${datadir}/aclocal/* "
FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"