Commit 126657cf authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Rafaël Carré

msi: provide the arch

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent fc2b9d97
...@@ -236,17 +236,20 @@ case "${host_os}" in ...@@ -236,17 +236,20 @@ case "${host_os}" in
DESTDIR="`pwd`/_win32/" DESTDIR="`pwd`/_win32/"
dnl dnl
dnl NSIS Installer prefix and WIN64 dnl NSIS/MSI Installer prefix and WIN64
dnl dnl
case "${host}" in case "${host}" in
amd64*|x86_64*) amd64*|x86_64*)
HAVE_WIN64="1" HAVE_WIN64="1"
WINDOWS_ARCH="x64"
PROGRAMFILES="PROGRAMFILES64" PROGRAMFILES="PROGRAMFILES64"
;; ;;
*) *)
WINDOWS_ARCH="x86"
PROGRAMFILES="PROGRAMFILES" PROGRAMFILES="PROGRAMFILES"
;; ;;
esac esac
AC_SUBST(WINDOWS_ARCH)
AC_SUBST(PROGRAMFILES) AC_SUBST(PROGRAMFILES)
fi fi
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<?define AboutURL = "http://www.videolan.org/vlc/" ?> <?define AboutURL = "http://www.videolan.org/vlc/" ?>
<?define SupportURL = "http://www.videolan.org/support/" ?> <?define SupportURL = "http://www.videolan.org/support/" ?>
<?define UpdatesURL = "http://www.videolan.org/vlc/" ?> <?define UpdatesURL = "http://www.videolan.org/vlc/" ?>
<?define Platform= "x86" ?>
<?define VerMajor = "@VERSION_MAJOR@" ?> <?define VerMajor = "@VERSION_MAJOR@" ?>
<?define VerMinor = "@VERSION_MINOR@" ?> <?define VerMinor = "@VERSION_MINOR@" ?>
...@@ -19,8 +18,9 @@ ...@@ -19,8 +18,9 @@
<?define LocalePath = "$(var.BinPath)\locale" ?> <?define LocalePath = "$(var.BinPath)\locale" ?>
<?define SdkPath = "$(var.BinPath)\sdk" ?>--> <?define SdkPath = "$(var.BinPath)\sdk" ?>-->
<?define Platform= "@WINDOWS_ARCH@" ?>
<?if $(var.Platform) = x64 ?> <?if $(var.Platform) = "x64" ?>
<?define Win64 = "yes" ?> <?define Win64 = "yes" ?>
<?else ?> <?else ?>
<?define Win64 = "no" ?> <?define Win64 = "no" ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment