diff --git a/dist-build/msys.sh b/dist-build/msys-win32.sh similarity index 100% rename from dist-build/msys.sh rename to dist-build/msys-win32.sh diff --git a/dist-build/msys-win64.sh b/dist-build/msys-win64.sh new file mode 100755 index 00000000..06b22ff7 --- /dev/null +++ b/dist-build/msys-win64.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +export CFLAGS="-O3 -fomit-frame-pointer -m64" +export PREFIX="$(pwd)/libsodium-win64" + +./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \ + --host=x86_64-w64-mingw32 && \ +make && \ +make check && \ +make install