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
1ccd638b
Commit
1ccd638b
authored
Apr 21, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: No longer use a constructor for module initialization.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
71932434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
winegcc.c
tools/winegcc/winegcc.c
+2
-4
No files found.
tools/winegcc/winegcc.c
View file @
1ccd638b
...
...
@@ -534,8 +534,6 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
strarray_add
(
flags
,
"-Wl,--no-wchar-size-warning"
);
if
(
!
try_link
(
opts
->
prefix
,
link_args
,
"-Wl,-z,defs"
))
strarray_add
(
flags
,
"-Wl,-z,defs"
);
if
(
opts
->
shared
&&
!
try_link
(
opts
->
prefix
,
link_args
,
"-Wl,-init,__wine_spec_init"
))
strarray_add
(
flags
,
"-Wl,-init,__wine_spec_init"
);
strarray_addall
(
link_args
,
flags
);
return
link_args
;
...
...
@@ -1379,8 +1377,8 @@ static void build(struct options* opts)
}
}
if
(
!
is_pe
&&
!
opts
->
shared
)
fixup_constructors
(
opts
,
output_path
);
if
(
is_pe
&&
opts
->
wine_builtin
)
make_wine_builtin
(
opts
,
output_path
);
if
(
!
is_pe
)
fixup_constructors
(
opts
,
output_path
);
else
if
(
opts
->
wine_builtin
)
make_wine_builtin
(
opts
,
output_path
);
/* create the loader script */
if
(
generate_app_loader
)
...
...
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