diff options
Diffstat (limited to 'package/tiff')
-rw-r--r-- | package/tiff/tiff.mk | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk index 8db215ee5..ca6f562af 100644 --- a/package/tiff/tiff.mk +++ b/package/tiff/tiff.mk @@ -17,10 +17,8 @@ TIFF_CONF_OPT = \ TIFF_DEPENDENCIES = host-pkg-config zlib jpeg -$(eval $(call AUTOTARGETS,package,tiff)) - -$(TIFF_TARGET_INSTALL_TARGET): - -cp -a $(TIFF_DIR)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/ - $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so - touch $@ +define TIFF_INSTALL_TARGET_CMDS + -cp -a $(@D)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/ +endef +$(eval $(call AUTOTARGETS,package,tiff)) |