summaryrefslogtreecommitdiff
path: root/dist-build/msys2-win64.sh
blob: b7b75d1037a6fe0e09ff7a40f7d942ca6c4f73c1 (plain)
1
2
3
4
5
6
7
8
9
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