summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gdk-pixbuf.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gdk-pixbuf.mk b/src/gdk-pixbuf.mk
index 99abce9..3aae067 100644
--- a/src/gdk-pixbuf.mk
+++ b/src/gdk-pixbuf.mk
@@ -22,7 +22,8 @@ define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi -I'$(PREFIX)/$(TARGET)/share/aclocal'
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
- --disable-modules \
+ $(if $(BUILD_STATIC), \
+ --disable-modules,) \
--with-included-loaders \
--without-gdiplus \
LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4`"