Skip to content

Commit 94ce966

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
ARM64: Embed manifest properly (#4718)
Teach our ARM64 based builds to embed the manifest file correctly. This fixes #4707
2 parents a6a96b4 + 7bd911e commit 94ce966

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

contrib/buildsystems/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
237237
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR})
238238
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
239239
add_compile_options(/MP /std:c11)
240+
add_link_options(/MANIFEST:NO)
240241
endif()
241242

242243
#default behaviour

contrib/buildsystems/Generators/Vcxproj.pm

-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ sub createProject {
198198
<AdditionalDependencies>\$(VCPKGLibs);\$(AdditionalDependencies)</AdditionalDependencies>
199199
<AdditionalOptions>invalidcontinue.obj %(AdditionalOptions)</AdditionalOptions>
200200
<EntryPointSymbol>$entrypoint</EntryPointSymbol>
201-
<ManifestFile>$cdup\\compat\\win32\\git.manifest</ManifestFile>
202201
<SubSystem>$subsystem</SubSystem>
203202
</Link>
204203
EOM

git.rc

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include<winuser.h>
12
1 VERSIONINFO
23
FILEVERSION MAJOR,MINOR,MICRO,PATCHLEVEL
34
PRODUCTVERSION MAJOR,MINOR,MICRO,PATCHLEVEL

0 commit comments

Comments
 (0)