Kaydet (Commit) e8e65884 authored tarafından Michael Stahl's avatar Michael Stahl

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 3213cd54)

Change-Id: I1069b870ea0719bc6c01b7f8f3ddf9ff695c9850
üst df7e5114
...@@ -355,9 +355,10 @@ define gb_Library_get_dllname ...@@ -355,9 +355,10 @@ define gb_Library_get_dllname
$(patsubst $(1):%,%,$(filter $(1):%,$(gb_Library_DLLFILENAMES))) $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Library_DLLFILENAMES)))
endef 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 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 endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment