Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
de68bc3b
Commit
de68bc3b
authored
Aug 22, 2011
by
Bernhard Loos
Committed by
Alexandre Julliard
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Support a trailing / in paths to winebuild.
parent
9c2288fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
winegcc.c
tools/winegcc/winegcc.c
+1
-1
No files found.
tools/winegcc/winegcc.c
View file @
de68bc3b
...
...
@@ -1326,6 +1326,7 @@ int main(int argc, char **argv)
{
case
'B'
:
str
=
strdup
(
option_arg
);
if
(
strendswith
(
str
,
"/"
))
str
[
strlen
(
str
)
-
1
]
=
0
;
if
(
strendswith
(
str
,
"/tools/winebuild"
))
{
char
*
objdir
=
strdup
(
str
);
...
...
@@ -1334,7 +1335,6 @@ int main(int argc, char **argv)
/* don't pass it to the compiler, this generates warnings */
raw_compiler_arg
=
raw_linker_arg
=
0
;
}
if
(
strendswith
(
str
,
"/"
))
str
[
strlen
(
str
)
-
1
]
=
0
;
if
(
!
opts
.
prefix
)
opts
.
prefix
=
strarray_alloc
();
strarray_add
(
opts
.
prefix
,
str
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment