[PATCH] winegcc: Document WINEBUILD in the manpage.

Jens Reyer jre.winesim at gmail.com
Tue Mar 15 11:28:00 CDT 2016


Fixes https://bugs.winehq.org/show_bug.cgi?id=40246

Signed-off-by: Jens Reyer <jre.winesim at gmail.com>
---
 tools/winegcc/winegcc.man.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/winegcc/winegcc.man.in b/tools/winegcc/winegcc.man.in
index f4fecc7..b4fc12d 100644
--- a/tools/winegcc/winegcc.man.in
+++ b/tools/winegcc/winegcc.man.in
@@ -67,6 +67,13 @@ Do not add the winecrt0 library when linking.
 .IP \fB-Wb,\fIoption\fR
 Pass an option to winebuild.  If \fIoption\fR contains
 commas, it is split into multiple options at the commas.
+.SH ENVIRONMENT
+.TP
+.B WINEBUILD
+Specifies the path and name of the \fBwinebuild\fR binary that will be
+launched automatically by \fBwinegcc\fR.
+If not set, \fBwinegcc\fR will look for a file named \fIwinebuild\fR
+in the path.
 .SH DEFINES
 winegcc defines __WINE__, for code that needs to know when it is
 being compiled under Wine. It also defines WIN32, _WIN32, __WIN32, 
-- 
2.7.0




More information about the wine-patches mailing list