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
e0d89a49
Commit
e0d89a49
authored
Apr 04, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Generate installation rules for static and import libraries.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2f956a4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
makedep.c
tools/makedep.c
+8
-1
No files found.
tools/makedep.c
View file @
e0d89a49
...
...
@@ -2836,6 +2836,8 @@ static struct strarray output_sources( const struct makefile *make )
output
(
"
\t
$(AR) $(ARFLAGS) $@"
);
output_filenames_obj_dir
(
make
,
object_files
);
output
(
"
\n\t
$(RANLIB) $@
\n
"
);
add_install_rule
(
make
,
install_rules
,
make
->
staticlib
,
make
->
staticlib
,
strmake
(
"d$(dlldir)/%s"
,
make
->
staticlib
));
if
(
crosstarget
&&
make
->
module
)
{
char
*
name
=
replace_extension
(
make
->
staticlib
,
".a"
,
".cross.a"
);
...
...
@@ -3461,7 +3463,12 @@ static void load_sources( struct makefile *make )
make
->
use_msvcrt
=
!
strncmp
(
make
->
imports
.
str
[
i
],
"msvcr"
,
5
)
||
!
strcmp
(
make
->
imports
.
str
[
i
],
"ucrtbase"
);
if
(
make
->
module
&&
!
make
->
install_lib
.
count
)
strarray_add
(
&
make
->
install_lib
,
make
->
module
);
if
(
make
->
module
&&
!
make
->
install_lib
.
count
&&
!
make
->
install_dev
.
count
)
{
if
(
make
->
importlib
)
strarray_add
(
&
make
->
install_dev
,
make
->
importlib
);
if
(
make
->
staticlib
)
strarray_add
(
&
make
->
install_dev
,
make
->
staticlib
);
else
strarray_add
(
&
make
->
install_lib
,
make
->
module
);
}
make
->
include_paths
=
empty_strarray
;
make
->
define_args
=
empty_strarray
;
...
...
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