Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
45bf872a
Commit
45bf872a
authored
Apr 05, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Use Wine's msvcrt for Windows builds.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9a364c1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
winegcc.c
tools/winegcc/winegcc.c
+2
-6
No files found.
tools/winegcc/winegcc.c
View file @
45bf872a
...
...
@@ -972,11 +972,6 @@ static void build(struct options* opts)
/* add the default libraries, if needed */
if
(
!
opts
->
nostdlib
&&
opts
->
use_msvcrt
&&
opts
->
target_platform
!=
PLATFORM_WINDOWS
)
{
if
(
!
is_pe
||
!
opts
->
shared
)
add_library
(
opts
,
lib_dirs
,
files
,
"msvcrt"
);
}
if
(
!
opts
->
wine_objdir
&&
!
opts
->
nodefaultlibs
)
{
if
(
opts
->
gui_app
)
...
...
@@ -991,6 +986,7 @@ static void build(struct options* opts)
if
(
!
opts
->
nodefaultlibs
)
{
if
(
opts
->
use_msvcrt
)
add_library
(
opts
,
lib_dirs
,
files
,
"msvcrt"
);
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
opts
->
win16_app
)
add_library
(
opts
,
lib_dirs
,
files
,
"kernel"
);
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
...
...
@@ -1108,7 +1104,7 @@ static void build(struct options* opts)
char
*
p
=
strrchr
(
lib
,
'/'
);
*
p
++
=
0
;
if
(
!
strncmp
(
p
,
"lib"
,
3
))
if
(
!
strncmp
(
p
,
"lib"
,
3
)
&&
strcmp
(
p
,
"libmsvcrt.a"
)
)
{
char
*
ext
=
strrchr
(
p
,
'.'
);
...
...
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