summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/fontconfig/Config.in1
-rw-r--r--package/fontconfig/fontconfig.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/fontconfig/Config.in b/package/fontconfig/Config.in
index 34b5b4e66..77f91e175 100644
--- a/package/fontconfig/Config.in
+++ b/package/fontconfig/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_FONTCONFIG
bool "fontconfig"
select BR2_PACKAGE_FREETYPE
+ select BR2_PACKAGE_EXPAT
default n
help
diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk
index df9978d8b..fc964d23b 100644
--- a/package/fontconfig/fontconfig.mk
+++ b/package/fontconfig/fontconfig.mk
@@ -79,7 +79,7 @@ $(TARGET_DIR)/lib/libfontconfig.so: $(STAGING_DIR)/lib/libfontconfig.so
cp -a $(STAGING_DIR)/usr/bin/fc-list $(TARGET_DIR)/usr/bin/
-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/bin/fc-list
-fontconfig: uclibc freetype host-freetype $(TARGET_DIR)/lib/libfontconfig.so
+fontconfig: uclibc freetype host-freetype expat $(TARGET_DIR)/lib/libfontconfig.so
fontconfig-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(FONTCONFIG_DIR) uninstall