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
90e075c3
Commit
90e075c3
authored
Jan 09, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If supported, add -init and -fini flags to the linker invocation.
parent
2eebf3c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
winewrap.c
tools/winegcc/winewrap.c
+4
-0
No files found.
tools/winegcc/winewrap.c
View file @
90e075c3
...
...
@@ -617,7 +617,11 @@ int main(int argc, char **argv)
link_args
=
strarray_alloc
();
strarray_add
(
link_args
,
cpp
?
"g++"
:
"gcc"
);
strarray_add
(
link_args
,
"-shared"
);
#ifdef HAVE_LINKER_INIT_FINI
strarray_add
(
link_args
,
"-Wl,-Bsymbolic,-z,defs,-init,__wine_spec_init,-fini,__wine_spec_fini"
);
#else
strarray_add
(
link_args
,
"-Wl,-Bsymbolic,-z,defs"
);
#endif
for
(
i
=
0
;
i
<
llib_paths
->
size
;
i
++
)
strarray_add
(
link_args
,
llib_paths
->
base
[
i
]);
...
...
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