From f527d0a2a38755b7e4f30e5263b3826dc64eb4b1 Mon Sep 17 00:00:00 2001 From: ZachBacon Date: Sun, 22 Oct 2017 08:29:22 -0400 Subject: [PATCH] The not so finished builder script for windows. --- tools/win/builder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/win/builder b/tools/win/builder index b67f2ea7..cf182fc2 100644 --- a/tools/win/builder +++ b/tools/win/builder @@ -5,7 +5,7 @@ set -e BUILD_ROOT=$HOME/vbam-build # 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" @@ -38,7 +38,7 @@ CMAKE_ARGS="-DCMAKE_PREFIX_PATH=$BUILD_ROOT/root -DCMAKE_INSTALL_PREFIX=$BUILD_R DIST_OVERRIDES=" 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' " DIST_ARGS=" @@ -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