aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies/DownloadMingwBuildEnv.bat
diff options
context:
space:
mode:
authorwiso <wiso@svn>2010-08-30 20:25:45 +0000
committerwiso <wiso@svn>2010-08-30 20:25:45 +0000
commit484fbcd02d8712b2916930d02fb6f662cfaa9fdd (patch)
tree197a8f2474bc13f4f8b42201782f69c379f1c7f6 /project/BuildDependencies/DownloadMingwBuildEnv.bat
parent35f2ada965e07c811c268afecd17dd85e735d07f (diff)
[WIN32] fixed: current mingw needs patches to compile ffmpeg. the patches will by applied by the download script and ffmpeg builds now.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33347 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'project/BuildDependencies/DownloadMingwBuildEnv.bat')
-rw-r--r--project/BuildDependencies/DownloadMingwBuildEnv.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/project/BuildDependencies/DownloadMingwBuildEnv.bat b/project/BuildDependencies/DownloadMingwBuildEnv.bat
index 06d08b3427..cf15ac8567 100644
--- a/project/BuildDependencies/DownloadMingwBuildEnv.bat
+++ b/project/BuildDependencies/DownloadMingwBuildEnv.bat
@@ -36,9 +36,19 @@ CALL get_mingw_env.bat
cd %CUR_PATH%
+rem update fstab to install path
SET FSTAB=%MINGW_INSTALL_PATH%
SET FSTAB=%FSTAB:\=/%
SET FSTAB=%FSTAB:"=%
ECHO %FSTAB% /mingw>>"%MSYS_INSTALL_PATH%\etc\fstab"
+rem patch mingw headers to compile ffmpeg
+xcopy mingw_support\postinstall\* "%MSYS_INSTALL_PATH%\postinstall\" /E /Q /I /Y
+cd "%MSYS_INSTALL_PATH%\postinstall"
+CALL pi_patches.bat
+
+cd %CUR_PATH%
+
rmdir %TMP_PATH% /S /Q
+
+pause