summaryrefslogtreecommitdiffstats
path: root/package/tiff
diff options
context:
space:
mode:
authorHamish Moffatt <hamish@cloud.net.au>2008-12-08 04:41:19 +0000
committerHamish Moffatt <hamish@cloud.net.au>2008-12-08 04:41:19 +0000
commitf73e7d4611c8c6130f0026405840eb526d12c3d6 (patch)
tree49e0b183900e01f9ba99d390dd7398e8c157b82c /package/tiff
parent10f8e714e2b6ebd618f87cb3c23b4da15d160ac0 (diff)
downloadbuildroot-novena-f73e7d4611c8c6130f0026405840eb526d12c3d6.tar.gz
buildroot-novena-f73e7d4611c8c6130f0026405840eb526d12c3d6.zip
Over-ride the target-install target rather than installing as a post-build
hook. Otherwise the wrong stamps are used and the library won't be reinstalled if you clean out $(TARGET_DIR).
Diffstat (limited to 'package/tiff')
-rw-r--r--package/tiff/tiff.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index e7079e217..fcca73b5b 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -8,7 +8,7 @@ TIFF_SITE:=ftp://ftp.remotesensing.org/pub/libtiff
TIFF_SOURCE:=tiff-$(TIFF_VERSION).tar.gz
TIFF_LIBTOOL_PATCH = NO
TIFF_INSTALL_STAGING = YES
-TIFF_INSTALL_TARGET = NO
+TIFF_INSTALL_TARGET = YES
TIFF_CONF_OPT = \
--enable-shared \
--enable-static \
@@ -19,7 +19,7 @@ TIFF_DEPENDENCIES = uclibc pkgconfig zlib jpeg
$(eval $(call AUTOTARGETS,package,tiff))
-$(TIFF_HOOK_POST_BUILD):
+$(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 $@