http://bugs.winehq.org/show_bug.cgi?id=20907
--- Comment #8 from Austin English austinenglish@gmail.com 2012-07-17 20:36:11 CDT --- (In reply to comment #7)
Is this still an issue in wine 1.5.9 or in netbsd?
Yes, though there's recently been some activity on the NetBSD bug: http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=42420
though they're of the opinion that it's a wine bug: Actually, I take it back, the only thing the cited Wine configure test actually checks for is whether rpaths are accepted (which should be the case on any ELF system) and whether they're allowed to contain $.
Since rpaths are apparently allowed to contain anything (even control characters) the configure test is absolutely worthless. There's no point attempting to disable $ORIGIN in binutils since it looks as if binutils doesn't know or need to know anything about it.
As I said some time back, the configure test should be changed upstream to actually test for the feature, in which case the problem goes away.