X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gen-win32.sh;h=2c798e3c057fb13aa488a586140335d13de82f31;hb=57b61eb0e1cf8557ecbf3bb9f52a0927b0b1b98e;hp=82ac5d41809bee8e2e38664ee2521225ff2d65e8;hpb=518768fdda018e6ee4089bd848350fe26e9c0cc1;p=aweather diff --git a/gen-win32.sh b/gen-win32.sh index 82ac5d4..2c798e3 100755 --- a/gen-win32.sh +++ b/gen-win32.sh @@ -1,8 +1,9 @@ #!/bin/bash -dir=$(dirname $(readlink -f $0)) -PKG_CONFIG_PATH="../libgis-win32/src/" \ -./autogen.sh \ - "--host=i686-pc-mingw32" \ - "--datadir=Z:$dir/data/" \ - "--libdir=Z:$dir/src/plugins/" \ - CFLAGS="-g -Werror -Wno-unused $CFLAGS" +gnulib-tool --no-vc-files --import strptime + +GIS="/scratch/libgis-win32/src" +export PKG_CONFIG_PATH="$GIS" +export LIBS="-L$GIS" +export CPPFLAGS="-I$GIS" +export CFLAGS="-g -Werror -Wno-unused -O3" +./autogen.sh --host=i686-pc-mingw32