From 09df7b973a2b7fa78892df436d933c3ddc476eee Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Sep 2005 00:29:21 +0000 Subject: [PATCH] build with prefix set to STAGING_DIR so the generated .la file has correct paths --- package/freetype/freetype.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 7eae269c6b..6a65b942d8 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -26,7 +26,7 @@ $(FREETYPE_DIR)/.configured: $(FREETYPE_DIR)/.unpacked --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ - --prefix=/usr ); + --prefix=$(STAGING_DIR)/usr ); touch $(FREETYPE_DIR)/.configured $(FREETYPE_DIR)/.compiled: $(FREETYPE_DIR)/.configured @@ -34,7 +34,7 @@ $(FREETYPE_DIR)/.compiled: $(FREETYPE_DIR)/.configured touch $(FREETYPE_DIR)/.compiled $(STAGING_DIR)/usr/lib/libfreetype.so: $(FREETYPE_DIR)/.compiled - $(MAKE) -C $(FREETYPE_DIR) DESTDIR=$(STAGING_DIR) install + $(MAKE) -C $(FREETYPE_DIR) install touch -c $(STAGING_DIR)/lib/libfreetype.so $(TARGET_DIR)/usr/lib/libfreetype.so: $(STAGING_DIR)/usr/lib/libfreetype.so -- 2.30.2