From 1644a077bc6251823f3d6ebc70e317101e8296f4 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 12 Aug 2007 23:30:06 +0000 Subject: fix DirectFB *.la path's --- package/directfb/directfb.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'package') 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 -- cgit v1.2.3