summaryrefslogtreecommitdiff
path: root/cli_ure/Library_cli_cppuhelper_native.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cli_ure/Library_cli_cppuhelper_native.mk')
-rw-r--r--cli_ure/Library_cli_cppuhelper_native.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli_ure/Library_cli_cppuhelper_native.mk b/cli_ure/Library_cli_cppuhelper_native.mk
index 32b9ffd99a9d..72ddeb1fc593 100644
--- a/cli_ure/Library_cli_cppuhelper_native.mk
+++ b/cli_ure/Library_cli_cppuhelper_native.mk
@@ -7,6 +7,8 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
+include $(SRCDIR)/cli_ure/version/version.txt
+
$(eval $(call gb_Library_Assembly,cli_cppuhelper_native))
# When compiling for CLR, disable "warning C4339: use of undefined type detected
@@ -17,6 +19,11 @@ $(eval $(call gb_Library_add_cxxflags,cli_cppuhelper_native,\
-wd4339 \
))
+$(eval $(call gb_Library_add_ldflags,cli_cppuhelper_native,\
+ -ignore:4248 \
+ -keyfile:$(call gb_Helper_windows_path,$(SRCDIR)/cli_ure/source/cliuno.snk) \
+))
+
# TODO do not encode filenames here
$(eval $(call gb_Library_add_ldflags,cli_cppuhelper_native,\
-delayload:cppuhelper3MSC.dll \