From: Mike Frysinger Date: Thu, 8 Sep 2005 00:29:21 +0000 (-0000) Subject: build with prefix set to STAGING_DIR so the generated .la file has correct paths X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09df7b973a2b7fa78892df436d933c3ddc476eee;p=buildroot.git build with prefix set to STAGING_DIR so the generated .la file has correct paths --- 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