Skip to content

Commit e0ed951

Browse files
committed
DLL copying fix
1 parent f98758e commit e0ed951

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/helpers/postgres.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ CD %BUILD_DIR%\postgresql\*%PGVER%*\src\tools\msvc
8181

8282
REM xcopy /Y %DEPENDENCIES_BIN_DIR%\libintl\lib\*.dll %BUILD_DIR%\postgresql\*%PGVER%*\ || GOTO :ERROR
8383
REM xcopy /Y %DEPENDENCIES_BIN_DIR%\iconv\lib\*.dll %BUILD_DIR%\postgresql\*%PGVER%*\ || GOTO :ERROR
84-
cp -va %DEPENDENCIES_BIN_DIR%\libintl\lib\*.dll %BUILD_DIR%\postgresql\postgresql-%PGVER%\ || GOTO :ERROR
85-
cp -va %DEPENDENCIES_BIN_DIR%\iconv\lib\*.dll %BUILD_DIR%\postgresql\postgresql-%PGVER%\ || GOTO :ERROR
84+
cp -va %DEPENDENCIES_BIN_DIR%\libintl\lib\libintl.dll %BUILD_DIR%\postgresql\postgresql-%PGVER%\ || GOTO :ERROR
85+
cp -va %DEPENDENCIES_BIN_DIR%\iconv\lib\libiconv.dll %BUILD_DIR%\postgresql\postgresql-%PGVER%\ || GOTO :ERROR
86+
cp -va %DEPENDENCIES_BIN_DIR%\iconv\lib\iconv.dll %BUILD_DIR%\postgresql\postgresql-%PGVER%\ || GOTO :ERROR
8687

8788
perl install.pl %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql || GOTO :ERROR
8889
cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR

0 commit comments

Comments
 (0)