bzip2: add so.1 link

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>
This commit is contained in:
Trevor Woerner 2012-02-09 17:25:13 -05:00 committed by Peter Korsgaard
parent 731f3dfa21
commit e8850ffdd5

View File

@ -59,6 +59,7 @@ define BZIP2_INSTALL_TARGET_CMDS
cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(TARGET_DIR)/usr/lib/ cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(TARGET_DIR)/usr/lib/
(cd $(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.0; \
ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so.1; \
ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so; \ ln -snf libbz2.so.$(BZIP2_SONAME) libbz2.so; \
) )
(cd $(TARGET_DIR)/usr/bin; \ (cd $(TARGET_DIR)/usr/bin; \
@ -102,4 +103,4 @@ define HOST_BZIP2_INSTALL_CMDS
endef endef
$(eval $(call GENTARGETS)) $(eval $(call GENTARGETS))
$(eval $(call GENTARGETS,host)) $(eval $(call GENTARGETS,host))