diff --git a/builds/win32/make_all.bat b/builds/win32/make_all.bat index cebb537407..b410f9bf66 100644 --- a/builds/win32/make_all.bat +++ b/builds/win32/make_all.bat @@ -54,9 +54,7 @@ for %%v in ( icuuc30 icudt30 icuin30 ) do ( @copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\intl\* %FB_OUTPUT_DIR%\intl >nul @copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\udf\* %FB_OUTPUT_DIR%\udf >nul @copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\system32\* %FB_OUTPUT_DIR%\system32 >nul -@copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\plugins\fbtrace.dll %FB_OUTPUT_DIR%\plugins\fbtrace.dll >nul -@copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\plugins\udr_engine.dll %FB_OUTPUT_DIR%\plugins\udr_engine.dll >nul -@copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\plugins\user_management.dll %FB_OUTPUT_DIR%\plugins\user_management.dll >nul +@copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\plugins\*.dll %FB_OUTPUT_DIR%\plugins >nul @copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\yvalve\fbclient.lib %FB_OUTPUT_DIR%\lib\fbclient_ms.lib >nul @copy %FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\ib_util\ib_util.lib %FB_OUTPUT_DIR%\lib\ib_util_ms.lib >nul @@ -118,7 +116,7 @@ copy %FB_ROOT_PATH%\src\extlib\fbudf\fbudf.sql %FB_OUTPUT_DIR%\udf > nul :: MSVC runtime if %MSVC_VERSION% == 10 ( -@copy "%VS100COMNTOOLS%\..\..\VC\redist\%FB_PROCESSOR_ARCHITECTURE%\Microsoft.VC100.CRT\msvcr100.dll" %FB_OUTPUT_DIR% >nul +@copy "%VS100COMNTOOLS%\..\..\VC\redist\%FB_VC10CRT_DIR%\Microsoft.VC100.CRT\msvcr100.dll" %FB_OUTPUT_DIR% >nul ) else ( if %MSVC_VERSION% == 9 ( @copy "%VS90COMNTOOLS%\..\..\VC\redist\%FB_PROCESSOR_ARCHITECTURE%\Microsoft.VC90.CRT\msvcr90.dll" %FB_OUTPUT_DIR% >nul diff --git a/builds/win32/set_build_target.bat b/builds/win32/set_build_target.bat index 8bb6d6464b..4dcb5b1bb8 100644 --- a/builds/win32/set_build_target.bat +++ b/builds/win32/set_build_target.bat @@ -3,6 +3,7 @@ set FB_DBG= set FB_OBJ_DIR=release set FB_CLEAN=/build set FB_ICU= +set FB_VC10CRT_DIR=%FB_PROCESSOR_ARCHITECTURE% for %%v in ( %* ) do ( ( if /I "%%v"=="DEBUG" ( (set FB_DBG=TRUE) && (set FB_OBJ_DIR=debug) ) ) @@ -11,6 +12,7 @@ for %%v in ( %* ) do ( ) if %MSVC_VERSION% GEQ 7 (set FB_OBJ_DIR=%FB_TARGET_PLATFORM%\%FB_OBJ_DIR%) +if %MSVC_VERSION% == 10 ( if %FB_VC10CRT_DIR% == AMD64 ( set FB_VC10CRT_DIR=x64)) @set FB_BIN_DIR=%FB_ROOT_PATH%\temp\%FB_OBJ_DIR%\firebird\