cleanup: fix stupid hack for MXE build script

This is much easier.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-10-31 16:08:02 -07:00
parent e3cc0d9651
commit cc04f5d3f8

View file

@ -162,10 +162,7 @@ if [ "$MXEBUILDTYPE" = "x86_64-w64-mingw32.shared" ] ; then
rm -f build.libmtp
cd "$BASEDIR/libmtp"
export NOCONFIGURE=1
# crudely disable the interactive part of autogen.sh
sed --in-place=.bak 's/read IN/IN="N"/;s/echo "Auto/#echo "Auto/' autogen.sh
bash autogen.sh
mv autogen.sh.bak autogen.sh
echo 'N' | bash autogen.sh
cd "$BUILDDIR"
mkdir -p libmtp
cd libmtp