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