bzip2: add so.1 link
authorTrevor Woerner <twoerner@gmail.com>
Thu, 9 Feb 2012 22:25:13 +0000 (17:25 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 9 Feb 2012 22:33:02 +0000 (23:33 +0100)
In addition to the .so link add a .so.1 link for the target rootfs.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/bzip2/bzip2.mk

index d3bb2b04a5b936fec424a331794e9798b8801ecc..1bc44497cc89fe4b382cd91ba2da466a576c2c2a 100644 (file)
@@ -59,6 +59,7 @@ define BZIP2_INSTALL_TARGET_CMDS
        cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(TARGET_DIR)/usr/lib/
        (cd $(TARGET_DIR)/usr/lib; \
                ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so.1.0; \
+               ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so.1; \
                ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so; \
        )
        (cd $(TARGET_DIR)/usr/bin; \
@@ -102,4 +103,4 @@ define HOST_BZIP2_INSTALL_CMDS
 endef
 
 $(eval $(call GENTARGETS))
-$(eval $(call GENTARGETS,host))
\ No newline at end of file
+$(eval $(call GENTARGETS,host))