summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/gdk-pixbuf/gdk-pixbuf.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index 0977d92c03..eb30215d79 100644
--- a/package/gdk-pixbuf/gdk-pixbuf.mk
+++ b/package/gdk-pixbuf/gdk-pixbuf.mk
@@ -33,7 +33,9 @@ endif
ifneq ($(BR2_PACKAGE_TIFF),y)
GDK_PIXBUF_CONF_OPTS += --without-libtiff
else
-GDK_PIXBUF_DEPENDENCIES += tiff
+GDK_PIXBUF_DEPENDENCIES += tiff host-pkgconf
+GDK_PIXBUF_CONF_ENV += \
+ LIBS='$(shell $(PKG_CONFIG_HOST_BINARY) --libs libtiff-4)'
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
OpenPOWER on IntegriCloud