diff --git a/config.mak.uname b/config.mak.uname
index 26f77c36ec..6deca782f8 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -709,6 +709,20 @@ vcxproj:
git diff-files --quiet && \
git diff-index --cached --quiet HEAD --
+ # Generate the LinkOrCopyBuiltins.targets file
+ (echo '' && \
+ echo ' ' && \
+ for name in $(BUILT_INS);\
+ do \
+ echo ' '; \
+ done && \
+ for name in $(REMOTE_CURL_ALIASES); \
+ do \
+ echo ' '; \
+ done && \
+ echo ' ' && \
+ echo '') >git/LinkOrCopyBuiltins.targets
+
# Make .vcxproj files and add them
unset QUIET_GEN QUIET_BUILT_IN; \
perl contrib/buildsystems/generate -g Vcxproj
diff --git a/contrib/buildsystems/Generators/Vcxproj.pm b/contrib/buildsystems/Generators/Vcxproj.pm
index 53d2f4dce1..acd60acb22 100644
--- a/contrib/buildsystems/Generators/Vcxproj.pm
+++ b/contrib/buildsystems/Generators/Vcxproj.pm
@@ -320,6 +320,9 @@ EOM
EOM
}
+ if ($target eq 'git') {
+ print F " \n";
+ }
print F << "EOM";
EOM