diff --git a/projects/Windows/VC10/lib/libcurl.tmpl b/projects/Windows/VC10/lib/libcurl.tmpl
index 53e4766d3..4d8d02b8b 100644
--- a/projects/Windows/VC10/lib/libcurl.tmpl
+++ b/projects/Windows/VC10/lib/libcurl.tmpl
@@ -646,7 +646,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -689,7 +689,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -731,7 +731,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -772,7 +772,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -926,7 +926,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -969,7 +969,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1011,7 +1011,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1052,7 +1052,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1096,7 +1096,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1139,7 +1139,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1181,7 +1181,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1222,7 +1222,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1266,7 +1266,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1309,7 +1309,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1351,7 +1351,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1392,7 +1392,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
diff --git a/projects/Windows/VC11/lib/libcurl.tmpl b/projects/Windows/VC11/lib/libcurl.tmpl
index 749bdce72..c763f39aa 100644
--- a/projects/Windows/VC11/lib/libcurl.tmpl
+++ b/projects/Windows/VC11/lib/libcurl.tmpl
@@ -686,7 +686,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -729,7 +729,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -771,7 +771,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -812,7 +812,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -966,7 +966,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1009,7 +1009,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1051,7 +1051,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1092,7 +1092,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1136,7 +1136,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1179,7 +1179,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1221,7 +1221,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1262,7 +1262,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1306,7 +1306,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1349,7 +1349,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1391,7 +1391,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1432,7 +1432,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
diff --git a/projects/Windows/VC12/lib/libcurl.tmpl b/projects/Windows/VC12/lib/libcurl.tmpl
index f765ad24e..a546fea17 100644
--- a/projects/Windows/VC12/lib/libcurl.tmpl
+++ b/projects/Windows/VC12/lib/libcurl.tmpl
@@ -686,7 +686,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -729,7 +729,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -771,7 +771,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -812,7 +812,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -966,7 +966,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1009,7 +1009,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1051,7 +1051,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1092,7 +1092,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1136,7 +1136,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1179,7 +1179,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1221,7 +1221,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1262,7 +1262,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1306,7 +1306,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1349,7 +1349,7 @@
false
- $(OutDir)$(ProjectName)d.lib
+ $(TargetDir)$(TargetName).lib
MachineX64
@@ -1391,7 +1391,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX86
@@ -1432,7 +1432,7 @@
false
- $(OutDir)$(ProjectName).lib
+ $(TargetDir)$(TargetName).lib
MachineX64
diff --git a/projects/Windows/VC7.1/lib/libcurl.tmpl b/projects/Windows/VC7.1/lib/libcurl.tmpl
index 80f921abb..66414e2da 100644
--- a/projects/Windows/VC7.1/lib/libcurl.tmpl
+++ b/projects/Windows/VC7.1/lib/libcurl.tmpl
@@ -41,7 +41,7 @@
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="..\..\..\..\..\openssl\build\Win32\VC7.1\DLL Release,..\..\..\..\..\libssh2\build\Win32\VC7.1\DLL Release"
SetChecksum="TRUE"
- ImportLibrary="$(OutDir)\$(ProjectName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>
+ ImportLibrary="$(TargetDir)$(TargetName).lib"/>