summaryrefslogtreecommitdiffstats
path: root/onlineupdate/Executable_mar.mk
diff options
context:
space:
mode:
Diffstat (limited to 'onlineupdate/Executable_mar.mk')
-rw-r--r--onlineupdate/Executable_mar.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/onlineupdate/Executable_mar.mk b/onlineupdate/Executable_mar.mk
index 628ca2680058..e6f18ef5c8ee 100644
--- a/onlineupdate/Executable_mar.mk
+++ b/onlineupdate/Executable_mar.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_Executable_use_externals,mar,\
nss3 \
))
+
ifeq ($(OS),WNT)
$(eval $(call gb_Executable_add_libs,mar,\
ws2_32.lib \
@@ -33,9 +34,16 @@ endif
ifeq ($(filter WNT MACOSX,$(OS)),)
$(eval $(call gb_Executable_use_externals,mar,nss3))
-$(eval $(call gb_Executable_add_defs,mar,-DMAR_NSS))
+
+$(eval $(call gb_Executable_add_defs,mar,\
+ -DMAR_NSS \
+))
endif
+$(eval $(call gb_Executable_add_defs,mar,\
+ -DAPP_VERSION=\"$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)\" \
+))
+
$(eval $(call gb_Executable_add_cobjects,mar,\
onlineupdate/source/libmar/sign/nss_secutil \
onlineupdate/source/libmar/sign/mar_sign \