From c9765f19463d990303c5a555114234fe43c8a262 Mon Sep 17 00:00:00 2001 From: gladman Date: Sun, 18 Dec 2011 17:41:00 +0000 Subject: [PATCH] minor build correction --- build.vc10/lib_mpir_cxx/lib_mpir_cxx.vcxproj | 24 ++++++++++---------- build.vc10/mpir_config.py | 9 +------- 2 files changed, 13 insertions(+), 20 deletions(-) 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):