From 40a4c469dff783736ba69ec4134e3c23e78b2769 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 15 Oct 2012 14:56:34 +0200 Subject: fdo#55290 do not use resource file for assembly libs I am not sure this really fixes the problem, but it is the only difference between dmake and gbuild builds I can see. Change-Id: I96fa4120dc2a8221a75e150a62582aebda98f505 --- cli_ure/Library_cli_cppuhelper_native.mk | 2 +- solenv/gbuild/platform/WNT_INTEL_MSC.mk | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cli_ure/Library_cli_cppuhelper_native.mk b/cli_ure/Library_cli_cppuhelper_native.mk index 5582e770b91e..32b9ffd99a9d 100644 --- a/cli_ure/Library_cli_cppuhelper_native.mk +++ b/cli_ure/Library_cli_cppuhelper_native.mk @@ -7,7 +7,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -$(eval $(call gb_Library_Library,cli_cppuhelper_native)) +$(eval $(call gb_Library_Assembly,cli_cppuhelper_native)) # When compiling for CLR, disable "warning C4339: use of undefined type detected # in CLR meta-data - use of this type may lead to a runtime exception": diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk index 151327eb0d5b..180cb69fc80e 100644 --- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk @@ -449,6 +449,13 @@ gb_Library_DLLFILENAMES :=\ $(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(lib)$(gb_Library_UNOVEREXT)) \ $(foreach lib,$(gb_Library_EXTENSIONLIBS),$(lib):$(lib)$(gb_Library_UNOEXT)) \ +# An assembly is a special kind of library for CLI +define gb_Library_Assembly +$(call gb_Library_Library,$(1)) +$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) : NATIVERES := + +endef + define gb_Library_Library_platform $(call gb_LinkTarget_set_dlltarget,$(2),$(3)) -- cgit v1.2.3