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
c959a18c
Commit
c959a18c
authored
May 16, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Remove the check for msvcr* imports.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4b541b1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
makedep.c
tools/makedep.c
+3
-12
No files found.
tools/makedep.c
View file @
c959a18c
...
...
@@ -2202,7 +2202,7 @@ static struct strarray get_default_imports( const struct makefile *make )
struct
strarray
ret
=
empty_strarray
;
if
(
strarray_exists
(
&
make
->
extradllflags
,
"-nodefaultlibs"
))
return
ret
;
if
(
strarray_exists
(
&
make
->
extradllflags
,
"-mno-cygwin"
)
)
strarray_add
(
&
ret
,
"msvcrt"
);
if
(
make
->
use_msvcrt
)
strarray_add
(
&
ret
,
"msvcrt"
);
strarray_add
(
&
ret
,
"winecrt0"
);
if
(
make
->
is_win16
)
strarray_add
(
&
ret
,
"kernel"
);
strarray_add
(
&
ret
,
"kernel32"
);
...
...
@@ -4119,10 +4119,6 @@ static void load_sources( struct makefile *make )
make
->
is_exe
=
strarray_exists
(
&
make
->
extradllflags
,
"-mconsole"
)
||
strarray_exists
(
&
make
->
extradllflags
,
"-mwindows"
);
for
(
i
=
0
;
i
<
make
->
imports
.
count
&&
!
make
->
use_msvcrt
;
i
++
)
make
->
use_msvcrt
=
!
strncmp
(
make
->
imports
.
str
[
i
],
"msvcr"
,
5
)
||
!
strcmp
(
make
->
imports
.
str
[
i
],
"ucrtbase"
);
if
(
make
->
module
&&
!
make
->
install_lib
.
count
&&
!
make
->
install_dev
.
count
)
{
if
(
make
->
importlib
)
strarray_add
(
&
make
->
install_dev
,
make
->
importlib
);
...
...
@@ -4171,18 +4167,13 @@ static void load_sources( struct makefile *make )
LIST_FOR_EACH_ENTRY
(
file
,
&
make
->
sources
,
struct
incl_file
,
entry
)
get_dependencies
(
file
,
file
);
if
(
crosstarget
&&
!
make
->
is_win16
&&
!
strarray_exists
(
&
make
->
imports
,
"kernel"
))
{
make
->
is_cross
=
(
make
->
testdll
||
strarray_exists
(
&
make
->
extradllflags
,
"-mno-cygwin"
)
||
!
has_object_file
(
make
));
}
make
->
is_cross
=
(
make
->
testdll
||
make
->
use_msvcrt
||
!
has_object_file
(
make
));
if
(
make
->
is_cross
)
{
for
(
i
=
0
;
i
<
make
->
imports
.
count
;
i
++
)
strarray_add_uniq
(
&
cross_import_libs
,
make
->
imports
.
str
[
i
]
);
if
(
strarray_exists
(
&
make
->
extradllflags
,
"-mno-cygwin"
))
strarray_add_uniq
(
&
cross_import_libs
,
"msvcrt"
);
if
(
make
->
use_msvcrt
)
strarray_add_uniq
(
&
cross_import_libs
,
"msvcrt"
);
strarray_add_uniq
(
&
cross_import_libs
,
"winecrt0"
);
strarray_add_uniq
(
&
cross_import_libs
,
"kernel32"
);
strarray_add_uniq
(
&
cross_import_libs
,
"ntdll"
);
...
...
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