Kaydet (Commit) 5a55a24b authored tarafından Matúš Kukan's avatar Matúš Kukan

pagein: learn to respect --enable-mergelibs case

Add libmerged to pagein-common and remove merged libraries from there.
Also fixes few misspelled library names.
This should make pagein usefull also for libmerged and speed up
cold start by pre-loading it.

Change-Id: I80ffb263ed5f399dc639e0d054f782ecb85001d6
üst 8c31a28a
...@@ -29,6 +29,7 @@ $(eval $(call gb_Pagein_Pagein,common)) ...@@ -29,6 +29,7 @@ $(eval $(call gb_Pagein_Pagein,common))
# sorted in approx. reverse load order (ld.so.1) # sorted in approx. reverse load order (ld.so.1)
$(eval $(call gb_Pagein_add_objects,common,\ $(eval $(call gb_Pagein_add_objects,common,\
$(if $(MERGELIBS),merged) \
i18npool \ i18npool \
$(if $(findstring YES,$(SYSTEM_ICU)),,\ $(if $(findstring YES,$(SYSTEM_ICU)),,\
icui18n \ icui18n \
...@@ -81,11 +82,11 @@ $(eval $(call gb_Pagein_add_objects,common,\ ...@@ -81,11 +82,11 @@ $(eval $(call gb_Pagein_add_objects,common,\
avmedia \ avmedia \
helplinker \ helplinker \
sax \ sax \
gconfbe \ gconfbe1 \
fsstorage \ fsstorage \
desktopbe \ desktopbe1 \
localebe \ localebe1 \
ucpexpand \ ucpexpand1 \
sfx \ sfx \
sofficeapp \ sofficeapp \
)) ))
......
...@@ -66,7 +66,7 @@ $(call gb_Pagein_get_outdir_target,$(1)) : $(call gb_Pagein_get_target,$(1)) ...@@ -66,7 +66,7 @@ $(call gb_Pagein_get_outdir_target,$(1)) : $(call gb_Pagein_get_target,$(1))
endef endef
define gb_Pagein_add_object define gb_Pagein_add_object
$(call gb_Pagein_get_target,$(1)) : OBJECTS += $(2) $(call gb_Pagein_get_target,$(1)) : OBJECTS += $(filter-out $(gb_MERGEDLIBS),$(2))
endef endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment