tools/winegcc solaris link options patch
sol11x86 at comcast.net
Thu May 3 16:18:01 CDT 2007
Please comment on this patch:
This patch adds two options to toool/winegcc to allow Solaris linker flags to be
passed through and recognized.
Prior to this patch, libraries compiled with winegcc (despite overloading every
link related env variable I could think of), had a single RPATH when evaulated
with elfdump (which was the primary library from the compiler). The effect
was that I was required to set an LD_LIBRARY_PATH prior to running any of
the wine applications, since the RPATH was not fully populated.
With this patch, and proper configuration of LDFLAGS, I am now able to
build wine on Solaris without having to resort to an LD_LIBRARY_PATH
when I run wine.
The two flags that are added to winegcc.c are:
-z <linker flags>
(-z allows me to control the link phase a little better for performance reasons).
Thanks to Steleman who quickly recognized the problem, despite the facts
were staring me in the face.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 632 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070503/9cbfcaab/attachment.obj
More information about the wine-devel