diff options
Diffstat (limited to 'standalone')
-rw-r--r-- | standalone/windows/build-simple.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/standalone/windows/build-simple.sh b/standalone/windows/build-simple.sh index 87515251f..cdda36feb 100644 --- a/standalone/windows/build-simple.sh +++ b/standalone/windows/build-simple.sh @@ -30,5 +30,6 @@ withcyg cabal build || true # using a response file. withcyg rm -f build.log gcc.opt withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true -withcyg grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt -"$HP/mingw/bin/gcc.exe" @gcc.opt +withcyg grep 'dist\\build\\git-annex\\git-annex.exe' build.log | withcyg grep -v Linking | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt +PATH="$HP/mingw/bin:$PATH" +gcc @gcc.opt |