https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Sebastian Lackner from comment #8)
For libwine: What about testing if /tmp exists, then falling back to the Android code path if it doesn't? As already mentioned on IRC, there are some users frequently reporting issues, because their distro doesn't have /tmp, and would be nice if Wine could work out of the box without recompiling.
See also bug 39013, where a user has /tmp set to writable only by root.