summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-14 19:05:46 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-15 15:26:31 +0200
commit54ba172dc13ababef911550a88083452832b4744 (patch)
treebb179e6957d9eba40805da5023ddf3556a0f1962 /external
parent436c7a1f58d2d29bcbfd7ff9fc9d7bee8e8df0e5 (diff)
configure: find the MSVC debug runtime libraries
... and copy them to solver bin in "external" Change-Id: I6850495d1abb848a3f6b17de6518d05890b13c32
Diffstat (limited to 'external')
-rw-r--r--external/Module_external.mk1
-rw-r--r--external/Package_msvc_dlls_debug.mk16
2 files changed, 17 insertions, 0 deletions
diff --git a/external/Module_external.mk b/external/Module_external.mk
index 33453c4e697b..ee6e994849be 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -28,6 +28,7 @@ $(eval $(call gb_Module_add_targets,external,\
Package_dbghelp \
Package_msms \
Package_msvc_dlls \
+ $(if $(MSVC_USE_DEBUG_RUNTIME),Package_msvc_dlls_debug) \
Package_msvc80_dlls \
))
endif
diff --git a/external/Package_msvc_dlls_debug.mk b/external/Package_msvc_dlls_debug.mk
new file mode 100644
index 000000000000..3e847645fbb4
--- /dev/null
+++ b/external/Package_msvc_dlls_debug.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Package_Package,msvc_dlls,$(MSVC_DEBUG_DLL_PATH)))
+
+$(eval $(call gb_Package_add_files,msvc_dlls,bin,\
+ $(MSVC_DEBUG_DLLS) \
+))
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab: