setup_native: Add vcruntime and libucrt on MSVC 14.0
Change-Id: If55979b55b4bc8dee785f0940461a01995060682 Reviewed-on: https://gerrit.libreoffice.org/17362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
committed by
Michael Stahl
parent
fd27553f38
commit
9a8a4442fd
@@ -29,6 +29,8 @@ $(eval $(call gb_Library_add_exception_objects,instooofiltmsi,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,instooofiltmsi,\
|
$(eval $(call gb_Library_use_system_win32_libs,instooofiltmsi,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@@ -33,6 +33,8 @@ $(eval $(call gb_Library_use_static_libraries,qslnkmsi,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,qslnkmsi,\
|
$(eval $(call gb_Library_use_system_win32_libs,qslnkmsi,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
msi \
|
msi \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
user32 \
|
user32 \
|
||||||
|
@@ -31,6 +31,8 @@ $(eval $(call gb_Library_add_exception_objects,reg4allmsdoc,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,reg4allmsdoc,\
|
$(eval $(call gb_Library_use_system_win32_libs,reg4allmsdoc,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
msi \
|
msi \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
user32 \
|
user32 \
|
||||||
|
@@ -29,6 +29,8 @@ $(eval $(call gb_Library_add_exception_objects,regactivex,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,regactivex,\
|
$(eval $(call gb_Library_use_system_win32_libs,regactivex,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
msi \
|
msi \
|
||||||
))
|
))
|
||||||
|
@@ -33,6 +33,8 @@ $(eval $(call gb_Library_use_static_libraries,sdqsmsi,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,sdqsmsi,\
|
$(eval $(call gb_Library_use_system_win32_libs,sdqsmsi,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
msi \
|
msi \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
user32 \
|
user32 \
|
||||||
|
@@ -34,6 +34,8 @@ $(eval $(call gb_Library_add_exception_objects,sellangmsi,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,sellangmsi,\
|
$(eval $(call gb_Library_use_system_win32_libs,sellangmsi,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
msi \
|
msi \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
user32 \
|
user32 \
|
||||||
|
@@ -41,6 +41,8 @@ $(eval $(call gb_Library_use_static_libraries,shlxtmsi,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,shlxtmsi,\
|
$(eval $(call gb_Library_use_system_win32_libs,shlxtmsi,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
msi \
|
msi \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
advapi32 \
|
advapi32 \
|
||||||
|
@@ -33,6 +33,8 @@ $(eval $(call gb_Library_use_static_libraries,sn_tools,\
|
|||||||
$(eval $(call gb_Library_use_system_win32_libs,sn_tools,\
|
$(eval $(call gb_Library_use_system_win32_libs,sn_tools,\
|
||||||
libcmt \
|
libcmt \
|
||||||
libcpmt \
|
libcpmt \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libucrt) \
|
||||||
|
$(if $(filter-out 120,$(VCVER)),libvcruntime) \
|
||||||
kernel32 \
|
kernel32 \
|
||||||
msi \
|
msi \
|
||||||
advapi32 \
|
advapi32 \
|
||||||
|
@@ -195,7 +195,7 @@ $(call gb_Helper_abbreviate_dirs,\
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define gb_MSVCRT_subst
|
define gb_MSVCRT_subst
|
||||||
$(if $(MSVC_USE_DEBUG_RUNTIME),$(subst msvcrt,msvcrtd,$(subst msvcprt,msvcprtd,$(subst libcmt,libcmtd,$(subst libcpmt,libcpmtd,$(subst msvcmrt,msvcmrtd,$(1)))))),$(1))
|
$(if $(MSVC_USE_DEBUG_RUNTIME),$(subst msvcrt,msvcrtd,$(subst msvcprt,msvcprtd,$(subst libcmt,libcmtd,$(subst libvcruntime,libvcruntimed,$(subst libucrt,libucrtd,$(subst libcpmt,libcpmtd,$(subst msvcmrt,msvcmrtd,$(1)))))))),$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define gb_LinkTarget_use_system_win32_libs
|
define gb_LinkTarget_use_system_win32_libs
|
||||||
@@ -204,7 +204,7 @@ $(if $(call gb_LinkTarget__is_merged,$(1)),\
|
|||||||
$(call gb_LinkTarget_add_libs,$(call gb_Library_get_linktarget,merged),$(foreach lib,$(2),$(call gb_MSVCRT_subst,$(lib)).lib)))
|
$(call gb_LinkTarget_add_libs,$(call gb_Library_get_linktarget,merged),$(foreach lib,$(2),$(call gb_MSVCRT_subst,$(lib)).lib)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Flags common for PE executables (EXEs and DLLs)
|
# Flags common for PE executables (EXEs and DLLs)
|
||||||
gb_Windows_PE_TARGETTYPEFLAGS := \
|
gb_Windows_PE_TARGETTYPEFLAGS := \
|
||||||
-release \
|
-release \
|
||||||
-opt:noref \
|
-opt:noref \
|
||||||
|
Reference in New Issue
Block a user