diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 5c22a0badd..ba9d4800fb 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -197,11 +197,16 @@ # "$(SLINK)" -cr ${dst} $(SLINK_FLAGS) ${src1} -( ${src2} -) # [Build.Static-Library-File] - + ?.lib $(LIBS) $(MODULE_BUILD_DIR)\Makefile + + ?.lib + $(LIBS) + $(MODULE_BUILD_DIR)/GNUmakefile + $(DEBUG_DIR)(+)$(MODULE_NAME).dll @@ -209,7 +214,7 @@ "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(LIBS) ${src} - "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -( $(DLINK_SPATH) $(LIBS) ${src} -) + "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(LIBS) ${src} -\) [Build.Dynamic-Library-File]