Kaynağa Gözat

merge from releasebranch_6_4

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39036 15284696-431f-4ddb-bdfa-cd5b030d7da7
Colin Nielsen 15 yıl önce
ebeveyn
işleme
4982db7d1d
1 değiştirilmiş dosya ile 6 ekleme ve 5 silme
  1. 6 5
      mswindows/osgeo4w/package.sh

+ 6 - 5
mswindows/osgeo4w/package.sh

@@ -1,4 +1,4 @@
-#!/c/Programme/OSGeo4W/bin/sh
+#!/c/Programme/OSGeo4W/apps/msys/bin/sh
 
 set -e
 
@@ -32,8 +32,8 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 	echo $(date): STARTING configure
 
 	./configure \
-		--with-libs="$OSGEO4W_ROOT_MSYS/apps/gdal-16/lib $OSGEO4W_ROOT_MSYS/lib /c/MinGW/lib" \
-		--with-includes="$OSGEO4W_ROOT_MSYS/apps/gdal-16/include $OSGEO4W_ROOT_MSYS/include /c/MinGW/include" \
+		--with-libs="$OSGEO4W_ROOT_MSYS/apps/gdal-16/lib $OSGEO4W_ROOT_MSYS/lib" \
+		--with-includes="$OSGEO4W_ROOT_MSYS/apps/gdal-16/include $OSGEO4W_ROOT_MSYS/include" \
 		--exec-prefix=$OSGEO4W_ROOT_MSYS/bin \
 		--libexecdir=$OSGEO4W_ROOT_MSYS/bin \
 		--prefix=$OSGEO4W_ROOT_MSYS/apps/grass \
@@ -54,7 +54,8 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 		--with-regex \
 		--with-nls \
 		--without-swig \
-		--with-freetype-includes=$OSGEO4W_ROOT_MSYS/include/freetype2
+		--with-freetype-includes=$OSGEO4W_ROOT_MSYS/include/freetype2 \
+		--with-odbc
 
 	echo $(date): STARTING make clean
 	make clean
@@ -96,7 +97,7 @@ mv mswindows/osgeo4w/vc/grass*.lib $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/
 
 set -x
 echo $(date): BUILDING GDAL GRASS plugins
-cmd /c mswindows\\osgeo4w\\gdalplugins.cmd $VERSION
+cmd /c 'mswindows\\osgeo4w\\gdalplugins.cmd $VERSION'
 
 echo $(date): CREATING packages
 mkdir -p package/grass-devel package/grass-devel-mingw package/grass-devel-vc package/grass