https://bugs.winehq.org/show_bug.cgi?id=29384
--- Comment #69 from infinity0@pwned.gg --- (In reply to realbug from comment #68)
(In reply to infinity0 from comment #67)
$ ./configure --prefix=/opt/wine-local --libdir=/opt/wine-local/lib64
er, this should also have --enable-win64
Eventually I failed to build... I think it would be better to wait for this to merge into staging.
Possibly you didn't install the build-dependencies correctly. My instructions above are a shortcut that only works on Debian systems and I don't know the full details of how to do it on non-Debian systems. (It also skips the details of creating the relevant chroots.)
In any case, I've told the wine-staging guys about that additional patch and they said they would test and merge it soon:
https://github.com/wine-staging/wine-staging/pull/87