summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postprocess/Rdb_services.mk4
-rw-r--r--sd/Library_sd.mk2
-rwxr-xr-xsolenv/bin/native-code.py2
-rw-r--r--xmlsecurity/Module_xmlsecurity.mk6
4 files changed, 9 insertions, 5 deletions
diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
index cd952135cc96..0c1614ccfc29 100644
--- a/postprocess/Rdb_services.mk
+++ b/postprocess/Rdb_services.mk
@@ -109,9 +109,9 @@ $(eval $(call gb_Rdb_add_components,services,\
xmloff/source/transform/xof \
xmloff/util/xo \
xmlscript/util/xmlscript \
- xmlsecurity/util/xmlsecurity \
- xmlsecurity/util/xsec_fw \
$(if $(filter-out ANDROID IOS,$(OS)), \
+ xmlsecurity/util/xmlsecurity \
+ xmlsecurity/util/xsec_fw \
xmlsecurity/util/xsec_xmlsec$(if $(filter WNT,$(OS)),.windows)) \
$(if $(ENABLE_COINMP), \
sccomp/source/solver/coinmpsolver \
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 7b3beea2c612..ae4bed45298e 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -94,7 +94,7 @@ $(eval $(call gb_Library_use_libraries,sd,\
ucbhelper \
utl \
vcl \
- xmlsecurity \
+ $(if $(filter-out ANDROID IOS,$(OS)),xmlsecurity) \
$(gb_UWINAPI) \
))
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index ef527e7c4c96..e2c7b69e7f8e 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -48,7 +48,7 @@ core_factory_list = [
("libunordflo.a", "unordf_component_getFactory"),
("libunoxmllo.a", "unoxml_component_getFactory"),
("libutllo.a", "utl_component_getFactory"),
- ("libxmlsecurity.a", "xmlsecurity_component_getFactory"),
+ ("libxmlsecurity.a", "xmlsecurity_component_getFactory", "#if !defined ANDROID && !defined IOS"),
("libxoflo.a", "xof_component_getFactory"),
("libxolo.a", "xo_component_getFactory"),
("libxsec_xmlsec.a", "xsec_xmlsec_component_getFactory", "#if !defined ANDROID && !defined IOS"),
diff --git a/xmlsecurity/Module_xmlsecurity.mk b/xmlsecurity/Module_xmlsecurity.mk
index 6fdc86eb60f4..4f00c2203b24 100644
--- a/xmlsecurity/Module_xmlsecurity.mk
+++ b/xmlsecurity/Module_xmlsecurity.mk
@@ -9,10 +9,12 @@
$(eval $(call gb_Module_Module,xmlsecurity))
+ifneq (,$(filter-out ANDROID IOS,$(OS)))
+
$(eval $(call gb_Module_add_targets,xmlsecurity,\
Library_xmlsecurity \
Library_xsec_fw \
- $(if $(filter-out ANDROID IOS,$(OS)),Library_xsec_xmlsec) \
+ Library_xsec_xmlsec \
))
$(eval $(call gb_Module_add_slowcheck_targets,xmlsecurity,\
@@ -45,4 +47,6 @@ $(eval $(call gb_Module_add_targets,xmlsecurity,\
endif
+endif
+
# vim: set noet sw=4 ts=4: