diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2019-03-14 09:24:17 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2019-03-14 09:24:17 +0000 |
commit | 3fe8b66b3b194d5b8ce62eed85165a70ef902142 (patch) | |
tree | 2a1cc1922b3ec6b9965cd61ecc16ad333ecfe74c /gtk/Makefile.am | |
parent | 67f11133701f7b17c4211c277ba197182226cdc9 (diff) | |
download | gtk+-3fe8b66b3b194d5b8ce62eed85165a70ef902142.tar.gz |
Fix UAC manifest RC file
CREATEPROCESS_MANIFEST_RESOURCE_ID is a macro defined in winbase.h,
so we need an include to resolve that macro to its value, 1.
Without that it stays as a literal CREATEPROCESS_MANIFEST_RESOURCE_ID,
and ends up in the .exe file as-is, and Windows can't find it by that name,
resulting in UAC manifest not working and gtk-update-icon-cache bringing
up UAC prompt.
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r-- | gtk/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index bd20ae409d..4ee001b682 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1721,7 +1721,7 @@ $(GTK_UPDATE_ICON_CACHE_MANIFEST): echo '</assembly>' ) >$@ $(GTK_UPDATE_ICON_CACHE_RC): - (echo 'CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST '$(GTK_UPDATE_ICON_CACHE_MANIFEST)) >$@ + (echo -e '#include <winuser.h>\nCREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST '$(GTK_UPDATE_ICON_CACHE_MANIFEST)) >$@ $(GTK_UPDATE_ICON_CACHE_MANIFEST_OBJECT): $(GTK_UPDATE_ICON_CACHE_RC) $(GTK_UPDATE_ICON_CACHE_MANIFEST) $(WINDRES) --input $< --output $@ --output-format=coff |