Re: disable invocation of winepath by libtool

Vincent Lefevre <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
On 2021-12-05 21:28:40 +0300, ilya Basin wrote:
> Dear List. I'm cross compiling a program on Linux for a mingw host
> and sometimes this shows Wine dialogs like "updating wine
> configuration" or "download and install Mono". I believe it's only
> needed to run `make check` successfully, but I want to skip the test
> suite. How to properly prevent the invocation if winepath?

I got the same issue when testing GNU MPFR. If one does not need
X Window, a workaround is to unset the DISPLAY environment variable.
This is actually needed to avoid failures when the X server has
terminated (because Wine tries to use X Window when DISPLAY is set,
even though this is not needed by the program to run[*]). And as a
side effect, one no longer gets these annoying dialogs.

[*] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914822
    https://bugs.winehq.org/show_bug.cgi?id=46211

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.