Fix build
This commit is contained in:
parent
e7eef0e47d
commit
9a8a914fd9
@ -96,10 +96,17 @@ Static version of the MinGW Windows GLib2 library.
|
||||
%autosetup -p1 -n glib-%{version}
|
||||
|
||||
%build
|
||||
%mingw_meson --default-library=both
|
||||
export MINGW_BUILDDIR_SUFFIX=static
|
||||
%mingw_meson --default-library=static
|
||||
%mingw_ninja
|
||||
export MINGW_BUILDDIR_SUFFIX=shared
|
||||
%mingw_meson --default-library=shared
|
||||
%mingw_ninja
|
||||
|
||||
%install
|
||||
export MINGW_BUILDDIR_SUFFIX=static
|
||||
%mingw_ninja_install
|
||||
export MINGW_BUILDDIR_SUFFIX=shared
|
||||
%mingw_ninja_install
|
||||
|
||||
# There's a small difference in the file glibconfig.h between the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user