X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gen-win32.sh;h=f9f3b593a209f6c378d777f4ce2c3fabf50849c2;hb=459a68347c21b94a7017e36d551ac78ee74b51c9;hp=2c798e3c057fb13aa488a586140335d13de82f31;hpb=5761f0ec012080b2f12c5e29a93a97b9a7ede4b4;p=aweather diff --git a/gen-win32.sh b/gen-win32.sh index 2c798e3..f9f3b59 100755 --- a/gen-win32.sh +++ b/gen-win32.sh @@ -1,9 +1,12 @@ #!/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