diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-15 18:35:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-15 18:37:10 +0200 |
commit | e8e65884b0add7efce8ed95a673be63d68451a57 (patch) | |
tree | bb20e3e8c3830ddaebe3d68bc42261443f1ca714 | |
parent | df7e5114ba20c13630e3cafeb21912bcdd8e4e0e (diff) |
gbuild: fix WNT build breakage in gb_Library_get_exports_target:
Depending on the library is a total failure because it causes it to be
linked with random junk inherited from other targets.
(regression from 3213cd54b76bc80a6f0516aac75a48ff3b2ad67c)
Change-Id: I1069b870ea0719bc6c01b7f8f3ddf9ff695c9850
-rwxr-xr-x | solenv/gbuild/platform/com_MSC_class.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 8b5421fe54e4..3f41f1fcbf2d 100755 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -355,9 +355,10 @@ define gb_Library_get_dllname $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Library_DLLFILENAMES))) endef -# this is nerfed, it just points to the library to disable the .exports +# in effect this just causes the .export target to be touched +# cannot be the .lib itself because that causes attempts to get it linked :( define gb_Library_get_exports_target -$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) +$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))).exports endef |