summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorTomofumi Yagi <yagit@mknada.sakura.ne.jp>2014-04-05 12:02:38 +0900
committerMatúš Kukan <matus.kukan@collabora.com>2014-04-08 10:20:24 +0200
commitbdf04730079523303a7c10c7af97ee5f67ad0a92 (patch)
tree9f055a946df9a2400578e0ee41df2d0faf79f944 /RepositoryExternal.mk
parentc06d624c81bafba1b61052aa5078d10f023e276b (diff)
Fix Windows build(external/coinmp)
This patch fixes the problem that a linker misses CoinMP.dll. The problem will occurs when we use --enable-dbgutil option. Change-Id: If6cec0f9705db2af33cb9a69d9440e3053c5979a Reviewed-on: https://gerrit.libreoffice.org/8854 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com> (cherry picked from commit cddbec75d402e260d6997ad69377346a8aa5774a)
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 23bee81cd501..c932194edb42 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1891,7 +1891,7 @@ define gb_LinkTarget__use_coinmp
$(call gb_LinkTarget_use_package,$(1),coinmp)
ifeq ($(COM),MSC)
$(call gb_LinkTarget_add_libs,$(1),\
- $(call gb_UnpackedTarball_get_dir,coinmp)/CoinMP/MSVisualStudio/v9/release/CoinMP.lib \
+ $(call gb_UnpackedTarball_get_dir,coinmp)/CoinMP/MSVisualStudio/v9/$(if $(MSVC_USE_DEBUG_RUNTIME),Debug,Release)/CoinMP.lib \
)
else
$(call gb_LinkTarget_add_libs,$(1),\