summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 23:30:06 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 23:30:06 +0000
commit1644a077bc6251823f3d6ebc70e317101e8296f4 (patch)
treea56b67c31d3a47b53df3cd6b72080b8867ea4f3a /package
parent96e7648788552a206fb0353cc0c3b4ec0e4902bf (diff)
downloadbuildroot-novena-1644a077bc6251823f3d6ebc70e317101e8296f4.tar.gz
buildroot-novena-1644a077bc6251823f3d6ebc70e317101e8296f4.zip
fix DirectFB *.la path's
Diffstat (limited to 'package')
-rw-r--r--package/directfb/directfb.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index c45095320..ebe2c5673 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -73,6 +73,18 @@ $(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
$(STAGING_DIR)/usr/lib/libdirectfb.so: $(DIRECTFB_DIR)/.compiled
$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(DIRECTFB_DIR) install
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+ $(STAGING_DIR)/usr/lib/libdirectfb.la
+ $(SED) "s,/lib/libfusion.la,$(STAGING_DIR)/usr/lib/libfusion.la,g" \
+ $(STAGING_DIR)/usr/lib/libdirectfb.la
+ $(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
+ $(STAGING_DIR)/usr/lib/libdirectfb.la
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+ $(STAGING_DIR)/usr/lib/libdirect.la
+ $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
+ $(STAGING_DIR)/usr/lib/libfusion.la
+ $(SED) "s,/lib/libdirect.la,$(STAGING_DIR)/usr/lib/libdirect.la,g" \
+ $(STAGING_DIR)/usr/lib/libfusion.la
touch -c $@
$(TARGET_DIR)/usr/lib/libdirectfb.so: $(STAGING_DIR)/usr/lib/libdirectfb.so