diff --git a/src/gdk-pixbuf.mk b/src/gdk-pixbuf.mk index 99abce90..3aae0670 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`"