Changes for boost 1.38.0 on Windows.
This commit is contained in:
@@ -184,24 +184,18 @@ cd /d %PKTH_BaseDir%
|
||||
if not exist %PKTH_BaseDir%\boost. (
|
||||
echo.
|
||||
echo Downloading boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_37_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
|
||||
%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_38_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
|
||||
if not errorlevel 0 goto downloadFailed
|
||||
echo.
|
||||
echo Unpacking boost and bjam
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_37_0.7z
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_38_0.7z
|
||||
%PKTH_OldDir%\third_party_apps\7za x -y boost-jam-3.1.17-1-ntx86.zip
|
||||
REM Wait 5 seconds for the file cache, else ren might fail.
|
||||
@ping 127.0.0.1 -n 5 -w 1000 > nul
|
||||
move boost-jam-3.1.17-1-ntx86\bjam.exe mingw\bin\bjam.exe
|
||||
move boost-jam-3.1.17-1-ntx86\LICENSE_1_0.txt mingw\bin\bjam_LICENSE_1_0.txt
|
||||
rd boost-jam-3.1.17-1-ntx86
|
||||
ren boost_1_37_0 boost
|
||||
echo.
|
||||
echo Patching boost
|
||||
cd boost
|
||||
copy %PKTH_OldDir%\helper_src\boost.patch .
|
||||
%PKTH_OldDir%\third_party_apps\pat_ch -p1 -i boost.patch
|
||||
cd /d %PKTH_BaseDir%
|
||||
ren boost_1_38_0 boost
|
||||
)
|
||||
echo.
|
||||
echo Compiling boost
|
||||
|
||||
Reference in New Issue
Block a user