bin: win32 resources: Fix manifest embeding

RT_MANIFEST is a macro that wasn't being substituted
2 was the magic number that corresponds to
ISOLATIONAWARE_MANIFEST_RESOURCE_ID, which should be used for DLLs.
Instead, use CREATEPROCESS_MANIFEST_RESOURCE_ID as we are creating a
process
This commit is contained in:
Hugo Beauzée-Luyssen 2017-03-08 15:13:03 +01:00
parent 23b91f115d
commit 083b4c517b
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#define VERSION_NUMBER @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@
#define VERSION_NUMBER_STR "@VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@"
#include <winuser.h>
VLC_ICON ICON "vlc.ico"
1 VERSIONINFO
@ -30,4 +32,4 @@ BEGIN
END
END
2 RT_MANIFEST "vlc.exe.manifest"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "vlc.exe.manifest"