diff options
author | wiso <wiso@svn> | 2010-08-30 20:57:52 +0000 |
---|---|---|
committer | wiso <wiso@svn> | 2010-08-30 20:57:52 +0000 |
commit | 9a83ca52452ed702a9cfb2e109195295fb2fef49 (patch) | |
tree | 58001b0dcc41094508f8bd399513eb9b65693c30 /project/BuildDependencies/DownloadMingwBuildEnv.bat | |
parent | 484fbcd02d8712b2916930d02fb6f662cfaa9fdd (diff) |
[WIN32] add the call to vcvars32.bat to msys.bat
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33348 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'project/BuildDependencies/DownloadMingwBuildEnv.bat')
-rw-r--r-- | project/BuildDependencies/DownloadMingwBuildEnv.bat | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/project/BuildDependencies/DownloadMingwBuildEnv.bat b/project/BuildDependencies/DownloadMingwBuildEnv.bat index cf15ac8567..897642649b 100644 --- a/project/BuildDependencies/DownloadMingwBuildEnv.bat +++ b/project/BuildDependencies/DownloadMingwBuildEnv.bat @@ -49,6 +49,20 @@ CALL pi_patches.bat cd %CUR_PATH%
-rmdir %TMP_PATH% /S /Q
+rem insert call to vcvars32.bat in msys.bat
+SET NET90VARS="%VS90COMNTOOLS%..\..\VC\bin\vcvars32.bat"
+SET NET100VARS="%VS100COMNTOOLS%..\..\VC\bin\vcvars32.bat"
+cd %MSYS_INSTALL_PATH%
+Move msys.bat msys.bat_dist
+IF EXIST %NET90VARS% (
+ ECHO CALL %NET90VARS%>>msys.bat
+) ELSE IF EXIST %NET100VARS% (
+ ECHO CALL %NET100VARS%>>msys.bat
+)
+TYPE msys.bat_dist>>msys.bat
+
+cd %CUR_PATH%
+
+IF EXIST %TMP_PATH% rmdir %TMP_PATH% /S /Q
pause
|