Skip to content

Commit

Permalink
build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyg committed Jan 13, 2024
1 parent 763ac4c commit 5cba668
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mcwin32/makelib.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/perl
# $Id: makelib.pl,v 1.37 2024/01/12 18:20:32 cvsuser Exp $
# $Id: makelib.pl,v 1.38 2024/01/13 15:52:38 cvsuser Exp $
# Makefile generation under WIN32 (MSVC/WATCOMC/MINGW) and DJGPP.
# -*- perl; tabs: 8; indent-width: 4; -*-
# Automake emulation for non-unix environments.
Expand Down Expand Up @@ -3219,8 +3219,13 @@ BEGIN
# s/-I ([^\s]+)/-i="$1"/g;
# gnuwin32 (gmake 3.x) quotes would be retained;
# this can not be guaranteed under an alt instance, for example gmake (4.x).
s/-I([^\s]+)/-i=\$(subst \/,\\,$1)/g;
s/-I ([^\s]+)/-i=\$(subst \/,\\,$1)/g;
if (/\(RC\)/) { # resource compiler (2024/01)
s/-I([^\s]+)/-i="\$(subst \/,\\,$1)"/g;
s/-I ([^\s]+)/-i="\$(subst \/,\\,$1)"/g;
} else {
s/-I([^\s]+)/-i=\$(subst \/,\\,$1)/g;
s/-I ([^\s]+)/-i=\$(subst \/,\\,$1)/g;
}
}

s/\$</\$(subst \/,\\,\$<)/;
Expand Down

0 comments on commit 5cba668

Please sign in to comment.