summaryrefslogtreecommitdiff
path: root/svl/Library_svl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'svl/Library_svl.mk')
-rw-r--r--svl/Library_svl.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/svl/Library_svl.mk b/svl/Library_svl.mk
index e3969b1d90a3..97fa4df3add9 100644
--- a/svl/Library_svl.mk
+++ b/svl/Library_svl.mk
@@ -95,6 +95,25 @@ $(eval $(call gb_Library_use_system_win32_libs,svl,\
shlwapi \
))
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_defs,svl,\
+ -DSVL_CRYPTO_MSCRYPTO \
+))
+$(eval $(call gb_Library_use_system_win32_libs,svl,\
+ crypt32 \
+))
+else
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+$(eval $(call gb_Library_add_defs,svl,\
+ -DSVL_CRYPTO_NSS \
+))
+$(eval $(call gb_Library_use_externals,svl,\
+ nss3 \
+ plc4 \
+))
+endif # BUILD_TYPE=DESKTOP
+endif
+
$(eval $(call gb_Library_add_exception_objects,svl,\
svl/source/config/asiancfg \
svl/source/config/cjkoptions \