For iOS always generate comprehensive headers for udkapi
Seems to get rid of one bootstrapping problem, where URE types are needed before their rdb file has been read. Change-Id: If9ae2f282dee06841a538ff1983bb3e836aa5706
This commit is contained in:
parent
e1b61b2daf
commit
21ce2a53e5
1 changed files with 24 additions and 4 deletions
|
@ -288,10 +288,25 @@ define gb_UnoApiHeadersTarget__command
|
|||
|
||||
endef
|
||||
|
||||
# On iOS we use static linking because dynamic loading of own code
|
||||
# isn't allowed by the iOS App Store rules, and we want our code to be
|
||||
# eventually distributable there as part of apps.
|
||||
|
||||
# To avoid problems that this causes together with the lovely
|
||||
# intentional breaking of the One Definition Rule, for iOS we always
|
||||
# generate comprehensive headers for udkapi. (The ODR breakage doesn't
|
||||
# harm, by accident or careful design, on platforms where shared
|
||||
# libraries are used.)
|
||||
|
||||
$(call gb_UnoApiHeadersTarget_get_bootstrap_target,%) : \
|
||||
$(gb_UnoApiHeadersTarget_CPPUMAKERTARGET)
|
||||
$(call gb_Output_announce,$*,$(true),HPB,3)
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_bootstrap_dir,$*))
|
||||
$(if $(filter IOSudkapi,$(OS)$*), \
|
||||
$(call gb_Output_announce,$*,$(true),HPB,3) \
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_bootstrap_dir,$*),-C), \
|
||||
\
|
||||
$(call gb_Output_announce,$*,$(true),HPB,3) \
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_bootstrap_dir,$*)) \
|
||||
)
|
||||
|
||||
$(call gb_UnoApiHeadersTarget_get_comprehensive_target,%) : \
|
||||
$(gb_UnoApiHeadersTarget_CPPUMAKERTARGET)
|
||||
|
@ -300,8 +315,13 @@ $(call gb_UnoApiHeadersTarget_get_comprehensive_target,%) : \
|
|||
|
||||
$(call gb_UnoApiHeadersTarget_get_target,%) : \
|
||||
$(gb_UnoApiHeadersTarget_CPPUMAKERTARGET)
|
||||
$(call gb_Output_announce,$*,$(true),HPP,3)
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_dir,$*),-L)
|
||||
$(if $(filter IOSudkapi,$(OS)$*), \
|
||||
$(call gb_Output_announce,$*,$(true),HPP,3) \
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_dir,$*),-C), \
|
||||
\
|
||||
$(call gb_Output_announce,$*,$(true),HPP,3) \
|
||||
$(call gb_UnoApiHeadersTarget__command,$@,$*,$(call gb_UnoApiHeadersTarget_get_dir,$*),-L) \
|
||||
)
|
||||
|
||||
.PHONY : $(call gb_UnoApiHeadersTarget_get_clean_target,%)
|
||||
$(call gb_UnoApiHeadersTarget_get_clean_target,%) :
|
||||
|
|
Loading…
Reference in a new issue