Gerald Pfeifer gerald@pfeifer.com writes:
FreeBSD requires LD_BIND_NOW / LD_32_BIND_NOW to address the issue raised in https://bugs.winehq.org/show_bug.cgi?id=50257 .
Signed-off-by: Gerald Pfeifer gerald@pfeifer.com
tools/winewrapper | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/tools/winewrapper b/tools/winewrapper index 2206d7c4446..85380423753 100755 --- a/tools/winewrapper +++ b/tools/winewrapper @@ -84,6 +84,13 @@ else export LD_LIBRARY_PATH fi
+if [ "`uname -s`" = "FreeBSD" ] +then
- # Workaround for https://bugs.winehq.org/show_bug.cgi?id=50257
- export LD_BIND_NOW=1
- export LD_32_BIND_NOW=1
+fi
That doesn't look like a proper solution, it's only hiding the bug, and then only when running from inside the build tree.