From d65c135bd84ebd80535281eaece5dba5f79d3d9c Mon Sep 17 00:00:00 2001 From: Jan-Michael Brummer Date: Fri, 22 May 2020 15:58:49 +0200 Subject: [PATCH] gdk-pixbuf: Enable dynamic modules in shared builds GTK3 makes use of svg icons, but required librsvg module cannot be build in static gdk-pixbuf so allow dynamic modules for shared builds. --- src/gdk-pixbuf.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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`"