summarylogtreecommitdiffstats
path: root/mingw-make.sh
diff options
context:
space:
mode:
authorMichel Zou2021-11-30 21:12:00 +0100
committerMichel Zou2021-11-30 21:12:00 +0100
commit37f7505050acda4888d8e3777c2f745b6a450ba4 (patch)
tree6148264136e5a3849eff13ae06c9edacb06ba5d8 /mingw-make.sh
parentd2ebc4f4b0155ee860c577c0600cbb399d11b572 (diff)
downloadaur-37f7505050acda4888d8e3777c2f745b6a450ba4.tar.gz
dot
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 "$@"