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
0b90dc78
Commit
0b90dc78
authored
Apr 30, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
May 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makedep: Also pass EXTRADLLFLAGS to the cross-compiled test DLL.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
085c577a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
makedep.c
tools/makedep.c
+4
-1
No files found.
tools/makedep.c
View file @
0b90dc78
...
...
@@ -2823,9 +2823,11 @@ static void output_source_in( struct makefile *make, struct incl_file *source, c
static
void
output_source_spec
(
struct
makefile
*
make
,
struct
incl_file
*
source
,
const
char
*
obj
)
{
struct
strarray
imports
=
get_expanded_file_local_var
(
make
,
obj
,
"IMPORTS"
);
struct
strarray
dll_flags
=
get_expanded_file_local_var
(
make
,
obj
,
"EXTRADLLFLAGS"
);
struct
strarray
all_libs
,
dep_libs
=
empty_strarray
;
if
(
!
imports
.
count
)
imports
=
make
->
imports
;
if
(
!
dll_flags
.
count
)
dll_flags
=
make
->
extradllflags
;
all_libs
=
add_import_libs
(
make
,
&
dep_libs
,
imports
,
0
);
add_import_libs
(
make
,
&
dep_libs
,
get_default_imports
(
make
),
0
);
/* dependencies only */
strarray_addall
(
&
all_libs
,
libs
);
...
...
@@ -2848,7 +2850,7 @@ static void output_source_spec( struct makefile *make, struct incl_file *source,
if
(
tools_dir
)
output_filename
(
strmake
(
"--sysroot=%s"
,
top_obj_dir_path
(
make
,
""
)));
output_filenames
(
target_flags
);
output_filenames
(
unwind_flags
);
output_filenames
(
make
->
extradll
flags
);
output_filenames
(
dll_
flags
);
output_filename
(
"-shared"
);
output_filename
(
source
->
filename
);
output_filename
(
strmake
(
"%s.o"
,
obj_dir_path
(
make
,
obj
)));
...
...
@@ -2880,6 +2882,7 @@ static void output_source_spec( struct makefile *make, struct incl_file *source,
output_filename
(
strmake
(
"-B%s"
,
tools_dir_path
(
make
,
"winebuild"
)));
if
(
tools_dir
)
output_filename
(
strmake
(
"--sysroot=%s"
,
top_obj_dir_path
(
make
,
""
)));
output_filename
(
"--lib-suffix=.cross.a"
);
output_filenames
(
dll_flags
);
output_filename
(
"-shared"
);
output_filename
(
source
->
filename
);
output_filename
(
strmake
(
"%s.cross.o"
,
obj_dir_path
(
make
,
obj
)));
...
...
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