Commit f527d0a2 authored by ZachBacon's avatar ZachBacon
Browse files

The not so finished builder script for windows.

parent 7dca0697
......@@ -5,7 +5,7 @@ set -e
# build env
export HOST_SYSTEM=x86_64-w64-mingw32.static
export HOST_SYSTEM=x86_64-w64-mingw32
export CFLAGS="-I$BUILD_ROOT/root/include"
export CPPFLAGS="-I$BUILD_ROOT/root/include"
export CXXFLAGS="-I$BUILD_ROOT/root/include -std=gnu++11"
openssl mingw64 no-shared --prefix=$BUILD_ROOT/root
gettext --host=$HOST_SYSTEM --prefix=$BUILD_ROOT/root --enable-static --with-included-glib --enable-threads=win32 --with-included-libcroco --with-included-libunistring --with-included-libxml LIBS=-L$BUILD_ROOT/root/lib LIBS=-liconv
gettext --host=$HOST_SYSTEM --prefix=$BUILD_ROOT/root --enable-static --with-included-glib --enable-threads=win32 --enable-static --with-included-libcroco --with-included-libunistring --with-included-libxml LDFLAGS='-L$BUILD_ROOT/root/lib'
......@@ -178,7 +178,7 @@ build_dists() {
mkdir -p build
cd build
$HOST_SYSTEM-cmake .. $(dist_args "$dist" cmake)
cmake .. -G"MSYS Makefiles" $(dist_args "$dist" cmake)
make -j$NUM_CPUS
rm -rf destdir
mkdir destdir
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment