From 464589a963015ee4693a1ce0344508da74b1326d Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Tue, 17 Dec 2024 20:04:28 -0800 Subject: [PATCH] BaseTools: Disable Second DLINK step for WHOLEARCHIVE (#1243) --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index b5b447d46f..a176d0acc1 100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -361,7 +361,7 @@ $(DEBUG_DIR)(+)$(MODULE_NAME).dll - "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK2_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) + # "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK2_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST) MU_CHANGE: Drop Extra DLINK step for WHOLEARCHIVE "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) @$(STATIC_LIBRARY_FILES_LIST)