diff --git a/build.vc10/lib_mpir_cxx/lib_mpir_cxx.vcxproj b/build.vc10/lib_mpir_cxx/lib_mpir_cxx.vcxproj index 3f13efd2..a9db103c 100644 --- a/build.vc10/lib_mpir_cxx/lib_mpir_cxx.vcxproj +++ b/build.vc10/lib_mpir_cxx/lib_mpir_cxx.vcxproj @@ -53,12 +53,12 @@ $(TargetDir)$(TargetName).pdb ProgramDatabase - - - if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) - + + + cd ..\ +postbuild "$(TargetPath)" + + @@ -70,12 +70,12 @@ copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) $(TargetDir)$(TargetName).pdb ProgramDatabase - - - if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) - + + + cd ..\ +postbuild "$(TargetPath)" + + diff --git a/build.vc10/mpir_config.py b/build.vc10/mpir_config.py index a99d4ff5..0c251705 100644 --- a/build.vc10/mpir_config.py +++ b/build.vc10/mpir_config.py @@ -433,15 +433,8 @@ postbuild "$(TargetPath)" ''' - f2 = ''' - - if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir) -copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) - -''' - outf.write(f2 if is_cpp else f1) + outf.write(f1) def vcx_tool_options(config, plat, is_dll, is_cpp, af_list, outf):