Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c0b934

Browse files
committed
Fixed for 32 bit build
1 parent6d81a21 commit4c0b934

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

‎build/helpers/postgres.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ GOTO :NOTAR
3535
wget --no-check-certificate%PGURL% -O postgresql-%PGVER%.tar.bz2||GOTO :ERROR
3636
rm -rf%BUILD_DIR%\postgresql
3737
MKDIR%BUILD_DIR%\postgresql
38-
tar xf postgres*-%PGVER%.tar.bz2 -C%BUILD_UDIR%/postgresql||GOTO :ERROR
38+
%MSYS2_PATH%\tar xf postgres*-%PGVER%.tar.bz2 -C%BUILD_UDIR%/postgresql||GOTO :ERROR
3939
CD /D%BUILD_DIR%\postgresql\*%PGVER%*||GOTO :ERROR
4040

4141
:NOTAR

‎build/helpers/setvars.cmd

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ SET PYTHON32_PATH=C:\Python27x86
2121
SETPYTHON64_PATH=C:\Python27x64
2222
SETZIP_PATH=C:\Program Files\7-Zip;C:\Program Files (x86)\7-Zip
2323
SETNSIS_PATH=C:\Program Files (x86)\NSIS
24-
SETMSYS2_PATH=C:\msys32\usr\bin;C:\msys64\usr\bin
24+
SETMSYS2_PATH=C:\msys32\usr\bin
25+
rem ;C:\msys64\usr\bin
2526
SETPATH=%PATH%;%ZIP_PATH%;%MSYS2_PATH%;%NSIS_PATH%
2627
SETPERL5LIB=.
2728

@@ -30,8 +31,6 @@ IF EXIST "%PERL32_BIN%" SET PERL_EXE=%PERL32_BIN%\perl
3031
IFEXIST"%PERL64_BIN%"SETPATH=%PERL64_BIN%;%PATH%
3132
IFEXIST"%PERL64_BIN%"SETPERL_EXE=%PERL64_BIN%\perl
3233

33-
IF%ARCH%== X86SETPlatform=Win32
34-
IF%ARCH%== X64SETPlatform=X64
3534
IF%SDK%== SDK71 (
3635
SETREDIST_YEAR=2010
3736
SETPlatformToolset=v100
@@ -71,6 +70,10 @@ IF %SDK% == MSVC2019 (
7170
IF%ARCH%== X64call"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64||GOTO :ERROR
7271
)
7372

73+
rem vcvarsall of VS 2019 rewrite this variable
74+
IF%ARCH%== X86SETPlatform=Win32
75+
IF%ARCH%== X64SETPlatform=X64
76+
7477

7578
REM As we use Msys2 for build we need to install useful packages we will use
7679
@ECHO"Current PATH is:"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp