X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=gen-win32.sh;h=2917923e0e33ce4e53bc638ecd4c6f6d781da467;hp=2c798e3c057fb13aa488a586140335d13de82f31;hb=refs%2Fheads%2Fgtkglext;hpb=5761f0ec012080b2f12c5e29a93a97b9a7ede4b4 diff --git a/gen-win32.sh b/gen-win32.sh index 2c798e3..2917923 100755 --- a/gen-win32.sh +++ b/gen-win32.sh @@ -1,9 +1,11 @@ #!/bin/bash -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" +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 +./autogen.sh \ + --enable-shared \ + --disable-static \ + --host=i686-pc-mingw32