(In reply to Alexander Leithner from comment #3) > If you're referring to -mwindows when building a binary with winegcc, that > should not make a difference as, per the man page of winegcc and winebuild, > it only adds a bunch of -l flags and forces the entry point to be WinMain. The man page could be incomplete. Anyway, you can see in the build log that the linker succeeds without passing a library directory (https://build.opensuse.org/package/live_build_log/home:aaronpuchert:branches:Emulators/wine-nine-standalone/openSUSE_Tumbleweed/i586). Note that -L@WINE32_LIBDIR@ doesn't do anything because such a directory doesn't exist.