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
DESTDIR="`pwd`/_win32/"
dnl
dnl NSIS Installer prefix and WIN64
dnl NSIS/MSI Installer prefix and WIN64
dnl
case "${host}" in
amd64*|x86_64*)
HAVE_WIN64="1"
WINDOWS_ARCH="x64"
PROGRAMFILES="PROGRAMFILES64"
;;
*)
WINDOWS_ARCH="x86"
PROGRAMFILES="PROGRAMFILES"
;;
esac
AC_SUBST(WINDOWS_ARCH)
AC_SUBST(PROGRAMFILES)
fi
......
......@@ -6,7 +6,6 @@
<?define AboutURL = "http://www.videolan.org/vlc/" ?>
<?define SupportURL = "http://www.videolan.org/support/" ?>
<?define UpdatesURL = "http://www.videolan.org/vlc/" ?>
<?define Platform= "x86" ?>
<?define VerMajor = "@VERSION_MAJOR@" ?>
<?define VerMinor = "@VERSION_MINOR@" ?>
......@@ -19,8 +18,9 @@
<?define LocalePath = "$(var.BinPath)\locale" ?>
<?define SdkPath = "$(var.BinPath)\sdk" ?>-->
<?define Platform= "@WINDOWS_ARCH@" ?>
<?if $(var.Platform) = x64 ?>
<?if $(var.Platform) = "x64" ?>
<?define Win64 = "yes" ?>
<?else ?>
<?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