Skip to content

Commit cb58e65

Browse files
committed
8330341: Wrap call to MT in ExecuteWithLog
Reviewed-by: erikj
1 parent 55af9d8 commit cb58e65

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

make/common/native/LinkMicrosoft.gmk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ define CreateDynamicLibraryOrExecutableMicrosoft
113113
$$(CHMOD) +x $$($1_TARGET)
114114
endif
115115
ifneq ($$($1_MANIFEST), )
116-
$$($1_MT) -nologo -manifest $$($1_MANIFEST) \
117-
-identity:"$$($1_NAME).exe, version=$$($1_MANIFEST_VERSION)" \
118-
-outputresource:$$@;#1
116+
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_run_mt, \
117+
$$($1_MT) -nologo -manifest $$($1_MANIFEST) \
118+
-identity:"$$($1_NAME).exe$$(COMMA) version=$$($1_MANIFEST_VERSION)" \
119+
'-outputresource:$$($1_TARGET);$$(HASH)1')
119120
endif
120121
ifneq ($(SIGNING_HOOK), )
121122
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_call_signing_hook, \

0 commit comments

Comments
 (0)