]> Pileus Git - aweather/blobdiff - gen-win32.sh
Fix typo in man page
[aweather] / gen-win32.sh
index 82ac5d41809bee8e2e38664ee2521225ff2d65e8..2917923e0e33ce4e53bc638ecd4c6f6d781da467 100755 (executable)
@@ -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