summarylogtreecommitdiffstats
path: root/mingw-make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mingw-make.sh')
-rw-r--r--mingw-make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mingw-make.sh b/mingw-make.sh
index e8d889b65740..2809bc61e617 100644
--- a/mingw-make.sh
+++ b/mingw-make.sh
@@ -1,5 +1,5 @@
-#!/bin/bash
+#!/bin/sh
-source mingw-env @TRIPLE@
+. /usr/bin/mingw-env @TRIPLE@
make AR=@TRIPLE@-ar AS=@TRIPLE@-as CC=@TRIPLE@-gcc CXX=@TRIPLE@-g++ CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LD=@TRIPLE@-ld LDFLAGS="${LDFLAGS}" RANLIB=@TRIPLE@-ranlib F77=@TRIPLE@-gfortran F90=@TRIPLE@-gfortran F95=@TRIPLE@-gfortran STRIP=@TRIPLE@-strip NM=@TRIPLE@-nm DLLTOOL=@TRIPLE@-dlltool RC=@TRIPLE@-windres "$@"