Skip to content

Commit b3deb40

Browse files
committed
ARM64: Embed manifest properly (#4718)
Teach our ARM64 based builds to embed the manifest file correctly. This fixes #4707
2 parents 8be349c + b07b12a commit b3deb40

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

contrib/buildsystems/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
226226
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR})
227227
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
228228
add_compile_options(/MP /std:c11)
229+
add_link_options(/MANIFEST:NO)
229230
endif()
230231

231232
#default behaviour

contrib/buildsystems/Generators/Vcxproj.pm

Lines changed: 0 additions & 1 deletion
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.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include<winuser.h>
12
1 VERSIONINFO
23
FILEVERSION @GIT_MAJOR_VERSION@,@GIT_MINOR_VERSION@,@GIT_MICRO_VERSION@,@GIT_PATCH_LEVEL@
34
PRODUCTVERSION @GIT_MAJOR_VERSION@,@GIT_MINOR_VERSION@,@GIT_MICRO_VERSION@,@GIT_PATCH_LEVEL@

0 commit comments

Comments
 (0)