[gtk+] Use correct processorArchitecture for x86_64 in manifest file



commit d2b412af409b692500ee615b0857ed88ff2c7dbd
Author: Tor Lillqvist <tml iki fi>
Date:   Mon Feb 8 10:41:51 2010 +0200

    Use correct processorArchitecture for x86_64 in manifest file

 configure.in    |    3 +++
 gtk/Makefile.am |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index fffeaba..ce7c504 100644
--- a/configure.in
+++ b/configure.in
@@ -131,6 +131,7 @@ AC_CANONICAL_HOST
 MATH_LIB=-lm
 AC_MSG_CHECKING([for native Win32])
 LIB_EXE_MACHINE_FLAG=X86
+EXE_MANIFEST_ARCHITECTURE=X86
 case "$host" in
   *-*-mingw*)
     os_win32=yes
@@ -139,6 +140,7 @@ case "$host" in
     case "$host" in
     x86_64-*-*)
       LIB_EXE_MACHINE_FLAG=X64
+      EXE_MANIFEST_ARCHITECTURE=AMD64
       ;;
     esac
     ;;
@@ -149,6 +151,7 @@ esac
 AC_MSG_RESULT([$os_win32])
 
 AC_SUBST(LIB_EXE_MACHINE_FLAG)
+AC_SUBST(EXE_MANIFEST_ARCHITECTURE)
 
 case $host in
   *-*-linux*)
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index c3d950f..291cbf2 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1027,7 +1027,7 @@ gtk-update-icon-cache.exe.manifest:
 	(echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' ; \
 	 echo '<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">' ; \
 	 echo '  <assemblyIdentity version="1.0.0.0"' ; \
-	 echo '     processorArchitecture="'$(LIB_EXE_MACHINE_FLAG)'"' ; \
+	 echo '     processorArchitecture="'$(EXE_MANIFEST_ARCHITECTURE)'"' ; \
 	 echo '     name="gtk-update-icon-cache.exe"' ; \
 	 echo '     type="win32"/>' ; \
 	 echo '  <!-- Identify the application security requirements. -->' ; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]