Skip to content

Commit e4dd955

Browse files
committed
Added to PATH ICONV and LibIntl DLLS for ZIC
1 parent be0b71b commit e4dd955

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/helpers/postgres.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ rem cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/libintl.dll %BUILD_DIR%\postgresql
118118
rem cp -va %DEPENDENCIES_BIN_DIR%/iconv/lib/libiconv.dll %BUILD_DIR%\postgresql\%PGTARNAME%-%PGVER%\ || GOTO :ERROR
119119
rem cp -va %DEPENDENCIES_BIN_DIR%/iconv/lib/iconv.dll %BUILD_DIR%\postgresql\%PGTARNAME%-%PGVER%\ || GOTO :ERROR
120120

121+
rem We need ICONV and LibIntl DLLS available during install for ZIC to work
122+
rem no need to copy them, just add to PATH
123+
PATH %PATH%;%DEPENDENCIES_BIN_DIR%\libintl\lib;%DEPENDENCIES_BIN_DIR%\iconv\lib
121124
%PERL_EXE% install.pl %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql || GOTO :ERROR
122125
cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR
123126
cp -va %DEPENDENCIES_BIN_DIR%/iconv/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR

0 commit comments

Comments
 (0)