summaryrefslogtreecommitdiffstats
path: root/package/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'package/cairo')
-rw-r--r--package/cairo/Config.in2
-rw-r--r--package/cairo/cairo.mk6
2 files changed, 5 insertions, 3 deletions
diff --git a/package/cairo/Config.in b/package/cairo/Config.in
index 60aa6acb1..9f975c39e 100644
--- a/package/cairo/Config.in
+++ b/package/cairo/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_CAIRO
default n
select BR2_PACKAGE_PKGCONFIG
select BR2_PACKAGE_LIBPNG
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_FONTCONFIG
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX
help
Cairo is a 2D graphics library with support for multiple
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 5a617c710..ac5ebd6f6 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -101,8 +101,8 @@ $(CAIRO_DIR)/.configured: $(CAIRO_DIR)/.unpacked
--enable-shared \
--enable-static \
--with-x \
- --x-includes=$(STAGING_DIR)/usr/include \
- --x-libraries=$(STAGING_DIR)/lib \
+ --x-includes=$(STAGING_DIR)/usr/include/X11 \
+ --x-libraries=$(STAGING_DIR)/usr/lib \
--enable-ps=yes \
--enable-pdf=yes \
--enable-svg=no \
@@ -128,7 +128,7 @@ $(TARGET_DIR)/lib/libcairo.so.2.9.3: $(STAGING_DIR)/lib/$(CAIRO_BINARY)
$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libcairo.so.2.*
touch -c $(TARGET_DIR)/lib/libcairo.so.2.9.3
-cairo: uclibc gettext libintl pkgconfig libglib2 $(XSERVER) $(TARGET_DIR)/lib/libcairo.so.2.9.3
+cairo: uclibc gettext libintl pkgconfig libglib2 zlib png fontconfig $(XSERVER) $(TARGET_DIR)/lib/libcairo.so.2.9.3
cairo-clean:
rm -f $(TARGET_DIR)/lib/$(CAIRO_BINARY)