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
77960ab7
Commit
77960ab7
authored
Feb 29, 2016
by
Charles Davis
Committed by
Alexandre Julliard
Mar 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Specify an object format to windres.
Signed-off-by:
Charles Davis
<
cdavis5x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7d295d38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
res32.c
tools/winebuild/res32.c
+15
-0
No files found.
tools/winebuild/res32.c
View file @
77960ab7
...
...
@@ -623,6 +623,7 @@ void output_res_o_file( DLLSPEC *spec )
{
unsigned
int
i
;
char
*
res_file
=
NULL
;
const
char
*
format
;
int
fd
;
struct
strarray
*
args
;
...
...
@@ -681,7 +682,21 @@ void output_res_o_file( DLLSPEC *spec )
free
(
output_buffer
);
args
=
find_tool
(
"windres"
,
NULL
);
switch
(
target_cpu
)
{
case
CPU_x86
:
format
=
"pe-i386"
;
break
;
case
CPU_x86_64
:
format
=
"pe-x86-64"
;
break
;
default:
format
=
NULL
;
break
;
}
strarray_add
(
args
,
"-i"
,
res_file
,
"-o"
,
output_file_name
,
NULL
);
if
(
format
)
strarray_add
(
args
,
"-F"
,
format
,
NULL
);
spawn
(
args
);
strarray_free
(
args
);
...
...
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