summaryrefslogtreecommitdiff
path: root/xmlsecurity/Library_xmlsecurity.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/Library_xmlsecurity.mk')
-rw-r--r--xmlsecurity/Library_xmlsecurity.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/Library_xmlsecurity.mk b/xmlsecurity/Library_xmlsecurity.mk
index 77368ab39616..c5e8d68d9483 100644
--- a/xmlsecurity/Library_xmlsecurity.mk
+++ b/xmlsecurity/Library_xmlsecurity.mk
@@ -72,12 +72,14 @@ $(eval $(call gb_Library_add_defs,xmlsecurity,\
-DXMLSEC_CRYPTO_MSCRYPTO \
))
else
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Library_add_defs,xmlsecurity,\
-DXMLSEC_CRYPTO_NSS \
))
$(eval $(call gb_Library_use_externals,xmlsecurity,\
nss3 \
))
+endif # BUILD_TYPE=DESKTOP
endif
# vim: set noet sw=4 ts=4: