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
ffd2e484
Commit
ffd2e484
authored
Mar 26, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Always expand the library name for cross-compiled import libraries.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
058783b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
makedep.c
tools/makedep.c
+5
-6
No files found.
tools/makedep.c
View file @
ffd2e484
...
...
@@ -2001,13 +2001,11 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra
if
(
submake
->
importlib
&&
!
strcmp
(
submake
->
importlib
,
name
))
{
const
char
*
dir
=
top_obj_dir_path
(
make
,
submake
->
base_dir
);
const
char
*
ext
=
cross
?
"cross.a"
:
*
dll_ext
?
"def"
:
"a"
;
if
(
!
cross
&&
submake
->
staticimplib
)
lib
=
base_dir_path
(
submake
,
submake
->
staticimplib
);
if
(
cross
||
!*
dll_ext
||
submake
->
staticimplib
)
lib
=
base_dir_path
(
submake
,
strmake
(
"lib%s.a"
,
name
));
else
strarray_add
(
deps
,
strmake
(
"%s/lib%s.%s"
,
dir
,
name
,
ext
));
strarray_add
(
deps
,
top_obj_dir_path
(
make
,
strmake
(
"%s/lib%s.def"
,
submake
->
base_dir
,
name
)));
break
;
}
...
...
@@ -2016,6 +2014,7 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra
if
(
lib
)
{
if
(
cross
)
lib
=
replace_extension
(
lib
,
".a"
,
".cross.a"
);
lib
=
top_obj_dir_path
(
make
,
lib
);
strarray_add
(
deps
,
lib
);
strarray_add
(
&
ret
,
lib
);
...
...
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