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
66883670
Commit
66883670
authored
Aug 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Don't build the .spec.o file for native Unix libraries.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c697ee72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
winegcc.c
tools/winegcc/winegcc.c
+4
-3
No files found.
tools/winegcc/winegcc.c
View file @
66883670
...
...
@@ -1220,7 +1220,7 @@ static void build(struct options* opts)
strarray
*
lib_dirs
,
*
files
;
strarray
*
link_args
,
*
implib_args
,
*
tool
;
char
*
output_file
,
*
output_path
;
const
char
*
spec_o_name
,
*
libgcc
=
NULL
;
const
char
*
spec_o_name
=
NULL
,
*
libgcc
=
NULL
;
const
char
*
output_name
,
*
spec_file
,
*
lang
;
int
generate_app_loader
=
1
;
const
char
*
crt_lib
=
NULL
,
*
entry_point
=
NULL
;
...
...
@@ -1382,7 +1382,8 @@ static void build(struct options* opts)
else
entry_point
=
opts
->
entry_point
;
/* run winebuild to generate the .spec.o file */
spec_o_name
=
build_spec_obj
(
opts
,
spec_file
,
output_file
,
files
,
lib_dirs
,
entry_point
);
if
(
!
(
opts
->
unix_lib
&&
opts
->
subsystem
&&
!
strcmp
(
opts
->
subsystem
,
"native"
)))
spec_o_name
=
build_spec_obj
(
opts
,
spec_file
,
output_file
,
files
,
lib_dirs
,
entry_point
);
if
(
fake_module
)
return
;
/* nothing else to do */
...
...
@@ -1414,7 +1415,7 @@ static void build(struct options* opts)
entry_point
));
}
strarray_add
(
link_args
,
spec_o_name
);
if
(
spec_o_name
)
strarray_add
(
link_args
,
spec_o_name
);
if
(
is_pe
)
{
...
...
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