mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 23:02:30 +02:00
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.
(From OE-Core rev: be298b6f0168bbd6baf90602da35904c441deade)
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ffc9073db1
commit
7503db6713
@@ -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/*"
|
||||
|
||||
Reference in New Issue
Block a user