diff --git a/mingw-glib2.spec b/mingw-glib2.spec index 2a09122..dd93dc2 100644 --- a/mingw-glib2.spec +++ b/mingw-glib2.spec @@ -35,6 +35,9 @@ BuildRequires: gettext # Native version required for glib-genmarshal BuildRequires: glib2-devel >= 2.31.20 +# Needed for patch2 +BuildRequires: autoconf automake libtool + # https://bugzilla.gnome.org/show_bug.cgi?id=675516 Patch0: 0001-Don-t-start-a-DBus-server-when-built-as-static-lib.patch @@ -88,6 +91,8 @@ Static version of the MinGW Windows GLib2 library. %patch1 -p1 %patch2 -p1 +autoreconf -i --force + %build #GLib can't build static and shared libraries in one go, so we build GLib twice