Skip to content

Commit

Permalink
MinGW wget to use http download only.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwutw committed Jun 10, 2023
1 parent 89425d2 commit 0dc2836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/common-settings
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ export CC CXX CFLAGS MAKE
# MinGW doesn't have curl, so we use wget.
if uname|grep "^MINGW32" > /dev/null; then
USE_WGET=1
# MinGW wget doesn't support https, replace download URLs with http.
DJGPP_DOWNLOAD_BASE=${DJGPP_DOWNLOAD_BASE/#https:/http:}
FTPMIRROR_GNU_DOWNLOAD_BASE=${FTPMIRROR_GNU_DOWNLOAD_BASE/#https:/http:}
FTP_GNU_DOWNLOAD_BASE=${FTP_GNU_DOWNLOAD_BASE/#https:/http:}
fi

0 comments on commit 0dc2836

Please sign in to comment.