summaryrefslogtreecommitdiff
path: root/extensions/Library_so_activex_x64.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-03-09 18:40:40 +0100
committerMichael Stahl <mstahl@redhat.com>2017-03-09 18:41:21 +0100
commit869a249cebaf58d13812194297561fc361dd3a36 (patch)
tree3fc416c0cd7085eccf253bc3118b6c2cc5265228 /extensions/Library_so_activex_x64.mk
parent5b25275002e12d2c9794ca0dd014e5d25efe486e (diff)
extensions: fix MSVC 2017 build of Library_so_activex_x64
Change-Id: Ia98c2ba085d6b7705b53dafd5368d69f0e0727c5
Diffstat (limited to 'extensions/Library_so_activex_x64.mk')
-rw-r--r--extensions/Library_so_activex_x64.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/Library_so_activex_x64.mk b/extensions/Library_so_activex_x64.mk
index d330ca8a3bf0..e1c4b9a8f9ba 100644
--- a/extensions/Library_so_activex_x64.mk
+++ b/extensions/Library_so_activex_x64.mk
@@ -50,7 +50,9 @@ $(eval $(call gb_Library_use_system_win32_libs,so_activex_x64,\
))
$(eval $(call gb_Library_add_libs,so_activex_x64,\
- $(ATL_LIB)/amd64/atls.lib \
+ $(if $(filter 140,$(VCVER)),\
+ $(ATL_LIB)/amd64/atls.lib, \
+ $(subst /x86,/x64,$(ATL_LIB)/amd64/atls.lib)) \
))
# vim:set noet sw=4 ts=4: