Skip to content

Commit

Permalink
Workaround for MinGW make install-strip.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwutw committed May 25, 2020
1 parent b419f63 commit df3c2f5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions script/10.1.0
Expand Up @@ -336,6 +336,17 @@ PATH="$BUILDDIR//tmpinst/bin:$PATH" \

${MAKE} j=4 "PATH=$BUILDDIR/tmpinst/bin:$PATH" || exit 1

# Workaround for MinGW. Need to fix some .deps/*.Plo files.
# Fix from
# e\:/build-djgpp\...
# to
# /e/build-djgpp\...

if uname|grep "^MINGW32" > /dev/null; then
for i in i586-pc-msdosdjgpp/libssp/.deps/*.Plo; do sed -e 's/^ \([a-zA-Z]\)\\\:/ \/\1/' $i -i; done
for i in i586-pc-msdosdjgpp/libquadmath/*/.deps/*.Plo; do sed -e 's/^ \([a-zA-Z]\)\\\:/ \/\1/' $i -i; done
fi

${MAKE} install-strip || exit 1

echo "Copy long name executables to short name."
Expand Down

0 comments on commit df3c2f5

Please sign in to comment.