X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=gen-win32.sh;h=2917923e0e33ce4e53bc638ecd4c6f6d781da467;hp=82ac5d41809bee8e2e38664ee2521225ff2d65e8;hb=refs%2Fheads%2Fgtkglext;hpb=518768fdda018e6ee4089bd848350fe26e9c0cc1 diff --git a/gen-win32.sh b/gen-win32.sh index 82ac5d4..2917923 100755 --- a/gen-win32.sh +++ b/gen-win32.sh @@ -1,8 +1,11 @@ #!/bin/bash -dir=$(dirname $(readlink -f $0)) -PKG_CONFIG_PATH="../libgis-win32/src/" \ + +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