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
9f34a577
Commit
9f34a577
authored
Jul 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Import kernel32 and ntdll by default also when building Wine.
They are needed to resolve symbols in winecrt0 which is always imported.
parent
f9253bbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
winegcc.c
tools/winegcc/winegcc.c
+19
-3
No files found.
tools/winegcc/winegcc.c
View file @
9f34a577
...
...
@@ -745,7 +745,15 @@ static void build(struct options* opts)
for
(
j
=
0
;
j
<
lib_dirs
->
size
;
j
++
)
strarray_add
(
link_args
,
strmake
(
"-L%s"
,
lib_dirs
->
base
[
j
]));
if
(
!
opts
->
nostartfiles
)
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nostartfiles
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nodefaultlibs
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"ntdll"
);
}
}
if
(
opts
->
shared
&&
!
opts
->
nostdlib
)
add_library
(
opts
,
lib_dirs
,
files
,
"wine"
);
if
(
!
opts
->
shared
&&
opts
->
use_msvcrt
&&
opts
->
target_platform
==
PLATFORM_CYGWIN
)
add_library
(
opts
,
lib_dirs
,
files
,
"msvcrt"
);
...
...
@@ -823,10 +831,18 @@ static void build(struct options* opts)
}
add_library
(
opts
,
lib_dirs
,
files
,
"advapi32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"user32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
}
if
(
!
opts
->
nostartfiles
)
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nostartfiles
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nodefaultlibs
)
{
if
(
opts
->
win16_app
)
add_library
(
opts
,
lib_dirs
,
files
,
"kernel"
);
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"ntdll"
);
}
}
if
(
!
opts
->
nostdlib
)
add_library
(
opts
,
lib_dirs
,
files
,
"wine"
);
/* run winebuild to generate the .spec.o file */
...
...
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