summaryrefslogtreecommitdiff
path: root/bzip2/bzip2_1.0.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'bzip2/bzip2_1.0.2.oe')
-rw-r--r--bzip2/bzip2_1.0.2.oe11
1 files changed, 3 insertions, 8 deletions
diff --git a/bzip2/bzip2_1.0.2.oe b/bzip2/bzip2_1.0.2.oe
index f0797e519f..06bc61986c 100644
--- a/bzip2/bzip2_1.0.2.oe
+++ b/bzip2/bzip2_1.0.2.oe
@@ -18,17 +18,12 @@ do_compile () {
do_stage () {
install -m 0644 libbz2.a ${STAGING_LIBDIR}/
install -m 0644 bzlib.h ${STAGING_INCDIR}/
- install -m 0755 libbz2.so.1.0.2 ${STAGING_LIBDIR}/
- ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so.1.0
- ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so.1
- ln -sf libbz2.so.1.0.2 ${STAGING_LIBDIR}/libbz2.so
+ oe_soinstall libbz2.so.1.0.2 ${STAGING_LIBDIR}/
}
do_install () {
oe_runmake 'DESTDIR=${D}' install
install -d ${D}/${libdir}
- install -m 0755 libbz2.so.1.0.2 ${D}/${libdir}/
- ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so.1.0
- ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so.1
- ln -sf libbz2.so.1.0.2 ${D}/${libdir}/libbz2.so
+ oe_soinstall libbz2.so.1.0.2 ${D}/${libdir}/
+ install -m 0644 libbz2.a ${D}/${libdir}/
}