Skip to content

Commit

Permalink
Make release script use MSVC build.
Browse files Browse the repository at this point in the history
  • Loading branch information
basil00 committed Aug 4, 2019
1 parent 194d9af commit 6501bec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mingw-build.sh
Expand Up @@ -33,7 +33,7 @@
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# Script for MinGW/Linux cross compilation.
# NOTE: run wddk-build.bat before this script.
# NOTE: run msvc-build.bat before this script.

set -e

Expand All @@ -57,9 +57,9 @@ do
MANGLE=
fi
HAVE_SYS=yes
if [ ! -d install/WDDK/$CPU ]
if [ ! -d install/MSVC/$CPU ]
then
echo "WARNING: missing WDDK build; run wddk-build.bat first"
echo "WARNING: missing MSVC build; run msvc-build.bat first"
HAVE_SYS=no
fi
echo "BUILD MINGW-$CPU"
Expand Down Expand Up @@ -121,7 +121,7 @@ do
if [ $HAVE_SYS = yes ]
then
echo "\tcopy install/MINGW/$CPU/WinDivert$BITS.sys..."
cp install/WDDK/$CPU/WinDivert$BITS.sys install/MINGW/$CPU
cp install/MSVC/$CPU/WinDivert$BITS.sys install/MINGW/$CPU
fi
else
echo "WARNING: $CC not found"
Expand Down

0 comments on commit 6501bec

Please sign in to comment.