fix DirectFB *.la path's
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 12 Aug 2007 23:30:06 +0000 (23:30 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 12 Aug 2007 23:30:06 +0000 (23:30 -0000)
package/directfb/directfb.mk

index c45095320f90082d0b01f6196f4adca7f4caeb70..ebe2c5673120d1de0660e102ee2b46d6b99f5d92 100644 (file)
@@ -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