From eab6ff79d4edbeef44a53a58ff8d56773e599e9e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 30 Dec 2013 17:54:16 +0100 Subject: [PATCH] Add a build script for msys-win64, rename msys.sh to msys-win32.sh --- dist-build/{msys.sh => msys-win32.sh} | 0 dist-build/msys-win64.sh | 10 ++++++++++ 2 files changed, 10 insertions(+) rename dist-build/{msys.sh => msys-win32.sh} (100%) create mode 100755 dist-build/msys-win64.sh 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