summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/graphics/cairo/cairo.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/graphics/cairo/cairo.mk b/packages/graphics/cairo/cairo.mk
index 7d2df69..e30d436 100644
--- a/packages/graphics/cairo/cairo.mk
+++ b/packages/graphics/cairo/cairo.mk
@@ -60,6 +60,9 @@ endif
CAIRO_CONFIGURE_OPTS := $(CAIRO_CONFIG_OPTS-n) $(CAIRO_CONFIG_OPTS-y) \
--enable-pthread=yes
+CAIRO_CONFIGURE_ENV := png_CFLAGS=`$(PKG_CONFIG_BIN) libpng --cflags`
+CAIRO_CONFIGURE_ENV += png_LIBS=`$(PKG_CONFIG_BIN) libpng --cflags`
+
cairo_install:
$(call EMBTK_INSTALL_PKG,CAIRO)