summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/fontconfig/fontconfig.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk
index 27f529ad6..49e4b70b2 100644
--- a/package/fontconfig/fontconfig.mk
+++ b/package/fontconfig/fontconfig.mk
@@ -59,6 +59,12 @@ $(TARGET_DIR)/lib/libfontconfig.so: $(STAGING_DIR)/lib/libfontconfig.so
mkdir -p $(TARGET_DIR)/etc/fonts
cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libfontconfig.so
+ mkdir -p $(TARGET_DIR)/var/cache/fontconfig
+ mkdir -p $(TARGET_DIR)/usr/bin
+ cp -a $(STAGING_DIR)/usr/bin/fc-cache $(TARGET_DIR)/usr/bin/
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-cache
+ cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
+ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
fontconfig: uclibc freetype $(TARGET_DIR)/lib/libfontconfig.so