summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 00:29:21 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 00:29:21 +0000
commit09df7b973a2b7fa78892df436d933c3ddc476eee (patch)
tree94431edbdedef0dbc4a50e4a604af7aca923948d /package
parentc652397883c6b400b3c52421dff2b132813382ca (diff)
downloadbuildroot-novena-09df7b973a2b7fa78892df436d933c3ddc476eee.tar.gz
buildroot-novena-09df7b973a2b7fa78892df436d933c3ddc476eee.zip
build with prefix set to STAGING_DIR so the generated .la file has correct paths
Diffstat (limited to 'package')
-rw-r--r--package/freetype/freetype.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index 7eae269c6..6a65b942d 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