From 47a27b0c9cd763860dd3dc35a3f07ef4b9155bf7f67dcbaf8f85425774e69608 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 22 Jan 2020 12:19:59 +0000 Subject: [PATCH] - build the PE format modules with the MingW cross compiler. OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=686 --- wine.changes | 1 + wine.spec | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/wine.changes b/wine.changes index b6aba00..2b6404a 100644 --- a/wine.changes +++ b/wine.changes @@ -7,6 +7,7 @@ Wed Jan 22 06:53:38 UTC 2020 - Marcus Meissner - XAudio2 reimplementation. - Vulkan 1.1 support. - update staging to 5.0 release +- build the PE format modules with the MingW cross compiler. ------------------------------------------------------------------- Sun Jan 19 10:22:06 UTC 2020 - Marcus Meissner diff --git a/wine.spec b/wine.spec index b273553..dee272b 100644 --- a/wine.spec +++ b/wine.spec @@ -92,6 +92,12 @@ BuildRequires: pkgconfig BuildRequires: sane-backends-devel BuildRequires: update-desktop-files BuildRequires: valgrind-devel +%ifarch x86_64 +BuildRequires: mingw64-cross-gcc +%endif +%ifarch %ix86 +BuildRequires: mingw32-cross-gcc +%endif BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu)