summaryrefslogtreecommitdiff
path: root/dist-build/msys2-win64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dist-build/msys2-win64.sh')
-rwxr-xr-xdist-build/msys2-win64.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist-build/msys2-win64.sh b/dist-build/msys2-win64.sh
new file mode 100755
index 0000000..b7b75d1
--- /dev/null
+++ b/dist-build/msys2-win64.sh
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona"
+export PREFIX="$(pwd)/libsodium-win64"
+
+./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
+ --host=x86_64-w64-mingw32 && \
+make && \
+make check && \
+make install