summaryrefslogtreecommitdiffstats
path: root/src/gdk-pixbuf-3-allow-static.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdk-pixbuf-3-allow-static.patch')
-rw-r--r--src/gdk-pixbuf-3-allow-static.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/gdk-pixbuf-3-allow-static.patch b/src/gdk-pixbuf-3-allow-static.patch
new file mode 100644
index 0000000..f57a929
--- /dev/null
+++ b/src/gdk-pixbuf-3-allow-static.patch
@@ -0,0 +1,31 @@
+diff --git a/configure.ac b/configure.ac
+index d929c84..20f8121 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -126,16 +126,16 @@ case $host in
+ ;;
+ esac
+
+-if test "$os_win32" = "yes"; then
+- if test x$enable_static = xyes -o x$enable_static = x; then
+- AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.])
+- enable_static=no
+- fi
+- if test x$enable_shared = xno; then
+- AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.])
+- fi
+- enable_shared=yes
+-fi
++dnl if test "$os_win32" = "yes"; then
++dnl if test x$enable_static = xyes -o x$enable_static = x; then
++dnl AC_MSG_WARN([Disabling static library build, must build as DLL on Windows.])
++dnl enable_static=no
++dnl fi
++dnl if test x$enable_shared = xno; then
++dnl AC_MSG_WARN([Enabling shared library build, must build as DLL on Windows.])
++dnl fi
++dnl enable_shared=yes
++dnl fi
+
+ dnl Initialize libtool
+ LT_PREREQ([2.2.6])