mirror of https://github.com/OpenVPN/openvpn-gui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
372 B
20 lines
372 B
#!/bin/sh
|
|
autoreconf -iv
|
|
unset CC
|
|
unset CXX
|
|
|
|
if [ "${ARCH}" = "x86" ]; then
|
|
export ABBR="i686"
|
|
export CHOST="i686-w64-mingw32"
|
|
fi
|
|
|
|
if [ "${ARCH}" = "x86_64" ]; then
|
|
export ABBR="x86_64"
|
|
export CHOST="x86_64-w64-mingw32"
|
|
fi
|
|
|
|
export CC=${ABBR}-w64-mingw32-gcc
|
|
|
|
./configure --prefix=/ --libdir=/lib --host=$CHOST --build=i686-pc-cygwin --program-prefix=''
|
|
make
|