diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-24 12:17:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-08-24 14:23:43 +0100 |
commit | 75fac9839793f73c9833489f1d70bf4136881cbf (patch) | |
tree | 30c20c8b5924f84439e1b3b122cde6b8193831e6 /Module_tail_build.mk | |
parent | No DLL stuff needed here as these go into static libs (diff) | |
download | core-75fac9839793f73c9833489f1d70bf4136881cbf.tar.gz core-75fac9839793f73c9833489f1d70bf4136881cbf.zip |
Add support for creating merged library.
This commit allows to set which libraries to merge
and creates merged library in tail_build if enabled.
This should save time when loading libraries in application
and also makes more sense for link-time optimization.
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
Diffstat (limited to 'Module_tail_build.mk')
-rw-r--r-- | Module_tail_build.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Module_tail_build.mk b/Module_tail_build.mk index 2cf5cdba0d3a..8408cd875544 100644 --- a/Module_tail_build.mk +++ b/Module_tail_build.mk @@ -51,4 +51,10 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\ writerperfect \ )) +ifeq ($(MERGELIBS),YES) +$(eval $(call gb_Module_add_targets,tail_end,\ + Library_merged \ +)) +endif + # vim: set noet sw=4 ts=4: |