summaryrefslogtreecommitdiff
path: root/packages/js
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-05-27 11:35:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-27 11:35:04 +0000
commit09b32dc4c385d5097867ba0a3b80e6989f88c221 (patch)
treed237989faa9319f1afe4311c185f560fad8892a3 /packages/js
parentea710b64689159b70fb4cd479e6449b1c893bf09 (diff)
js: Set soname correctly so OE's shlibs functionality can correctly detect the library. In turn this means js is correctly added to the RDEPENDS of web (from poky)
Diffstat (limited to 'packages/js')
-rw-r--r--packages/js/js_1.5.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/js/js_1.5.bb b/packages/js/js_1.5.bb
index 5af1441e36..040538a8ff 100644
--- a/packages/js/js_1.5.bb
+++ b/packages/js/js_1.5.bb
@@ -11,7 +11,7 @@ S = "${WORKDIR}/js/src"
FILES_${PN} = "${libdir}/lib*.so"
FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a"
-EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=-L${STAGING_LIBDIR}'"
+EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=-L${STAGING_LIBDIR} -soname=libjs'"
do_compile_prepend() {
cp ${WORKDIR}/jsautocfg.h ${S}/
@@ -25,8 +25,7 @@ do_install() {
install -d ${D}${libdir}
install -d ${D}${includedir}
install -d ${D}${includedir}/js
- install -m 0644 ${S}/Linux_All_DBG.OBJ/lib*.so ${D}${libdir}
- install -m 0644 ${S}/Linux_All_DBG.OBJ/lib*.a ${D}${libdir}
+ oe_libinstall -so -C Linux_All_DBG.OBJ libjs ${D}${libdir}
install -m 0644 ${S}/*.h ${D}${includedir}/js
}