summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:27:19 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:27:19 +0000
commitea5a59afad5e62942ea8e4232e5cafa78f2013a8 (patch)
treed0b55b86d3103c9a7085ed800a3f1fb68ced0745
parent9af6720ca3d48873c14038b3c753c84b1175665e (diff)
downloadbuildroot-novena-ea5a59afad5e62942ea8e4232e5cafa78f2013a8.tar.gz
buildroot-novena-ea5a59afad5e62942ea8e4232e5cafa78f2013a8.zip
fixes for tiff makefile
-rw-r--r--package/tiff/tiff.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index 813e9141e..633dce7b5 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -35,7 +35,7 @@ $(TIFF_DIR)/.configured: $(TIFF_DIR)/.unpacked
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
- --libdir=/lib \
+ --libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
@@ -58,16 +58,16 @@ $(TIFF_DIR)/libtiff/.libs/libtiff.a: $(TIFF_DIR)/.configured
$(MAKE) -C $(TIFF_DIR)
touch -c $(TIFF_DIR)/libtiff/.libs/libtiff.a
-$(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION): $(TIFF_DIR)/libtiff/.libs/libtiff.a
+$(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(TIFF_DIR)/libtiff/.libs/libtiff.a
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(TIFF_DIR) install
- $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" $(STAGING_DIR)/lib/libtiff.la
- touch -c $(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libtiff.la
+ touch -c $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
-$(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION): $(STAGING_DIR)/lib/libtiff.so.$(TIFF_VERSION)
- cp -dpf $(STAGING_DIR)/lib/libtiff.so* $(TARGET_DIR)/lib/
- -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+$(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION): $(STAGING_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
+ cp -dpf $(STAGING_DIR)/usr/lib/libtiff.so* $(TARGET_DIR)/usr/lib/
+ -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
-tiff: uclibc zlib jpeg $(TARGET_DIR)/lib/libtiff.so.$(TIFF_VERSION)
+tiff: uclibc zlib jpeg $(TARGET_DIR)/usr/lib/libtiff.so.$(TIFF_VERSION)
tiff-clean:
-$(MAKE) -C $(TIFF_DIR) clean