Skip to content

Commit 7e4058d

Browse files
committed
Merge branch 'fix-vcxproj-after-2.17.0'
Fix a couple of issues with the Visual Studio project generation which were partially caused by the rebase to Git v2.17.0 (and partially only detected because of the breakage). Signed-off-by: Johannes Schindelin <[email protected]>
2 parents e7621d8 + f93adde commit 7e4058d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config.mak.uname

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ vcxproj:
746746
git add -f $(SCRIPT_LIB) $(SCRIPT_SH_GEN) $(SCRIPT_PERL_GEN)
747747

748748
# Add Perl module
749-
$(MAKE) -C perl
750-
git add -f perl/blib/lib
749+
$(MAKE) $(LIB_PERL_GEN)
750+
git add -f perl/build
751751

752752
# Add bin-wrappers, for testing
753753
rm -rf bin-wrappers/

contrib/buildsystems/Generators/Vcxproj.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ sub createProject {
7474
$cflags =~ s/</&lt;/g;
7575
$cflags =~ s/>/&gt;/g;
7676

77-
my $libs_release = '';
78-
my $libs_debug = '';
77+
my $libs_release = "\n ";
78+
my $libs_debug = "\n ";
7979
if (!$static_library) {
8080
$libs_release = join(";", sort(grep /^(?!libgit\.lib|xdiff\/lib\.lib|vcs-svn\/lib\.lib)/, @{$$build_structure{"$prefix${name}_LIBS"}}));
8181
$libs_debug = $libs_release;
@@ -227,7 +227,7 @@ EOM
227227
print F << "EOM";
228228
</ItemGroup>
229229
EOM
230-
if (!$static_library || $target eq 'vcs-svn') {
230+
if (!$static_library || $target =~ 'vcs-svn') {
231231
my $uuid_libgit = $$build_structure{"LIBS_libgit_GUID"};
232232
my $uuid_xdiff_lib = $$build_structure{"LIBS_xdiff/lib_GUID"};
233233

0 commit comments

Comments
 (0)