summaryrefslogtreecommitdiff
path: root/openembedded/packages/js
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-05-25 09:57:54 +0000
committerRichard Purdie <richard@openedhand.com>2006-05-25 09:57:54 +0000
commit3f4947c2e69ed250d2aa2deae282fbc5d7202d1e (patch)
tree2751081504451bcf176d263d28eeffe7b5ade827 /openembedded/packages/js
parenta187ca15fefa583a409efac15e8210715cb6c4f2 (diff)
downloadopenembedded-core-3f4947c2e69ed250d2aa2deae282fbc5d7202d1e.tar.gz
openembedded-core-3f4947c2e69ed250d2aa2deae282fbc5d7202d1e.tar.bz2
openembedded-core-3f4947c2e69ed250d2aa2deae282fbc5d7202d1e.tar.xz
openembedded-core-3f4947c2e69ed250d2aa2deae282fbc5d7202d1e.zip
js: Set soname so the package shlibs code works properly, fixing problems with web
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@420 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/js')
-rw-r--r--openembedded/packages/js/js_1.5.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/openembedded/packages/js/js_1.5.bb b/openembedded/packages/js/js_1.5.bb
index 5af1441e3..040538a8f 100644
--- a/openembedded/packages/js/js_1.5.bb
+++ b/openembedded/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
}