https://bugs.winehq.org/show_bug.cgi?id=57891
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- (In reply to Patrick Hibbs from comment #0)
I assume this won't work. Notably bindir and libdir are defined afterwards, and both use exec_prefix, which because I assume it's empty here, means they get a value of "/bin" and "/lib" respectively.
No, that works fine, there must be some other problem with your build. Please attach your config.log and the strace output.