소스 검색

wingrass: re-enable LAS support on 64bit

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71392 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 7 년 전
부모
커밋
25d11171ee
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      mswindows/osgeo4w/package.sh

+ 5 - 3
mswindows/osgeo4w/package.sh

@@ -155,8 +155,12 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 
 
 	if [ "$MINGW_POSTFIX" = "64" ]; then
 	if [ "$MINGW_POSTFIX" = "64" ]; then
 	    conf_host=x86_64-w64-mingw32
 	    conf_host=x86_64-w64-mingw32
+            # see https://trac.osgeo.org/osgeo4w/ticket/539#ticket
+            # LAS support only enabled on 64bit
+            conf_opts="--with-liblas=$PWD/mswindows/osgeo4w/liblas-config"
 	else
 	else
 	    conf_host=i386-w64-mingw32
 	    conf_host=i386-w64-mingw32
+            conf_opts=
 	fi
 	fi
 	
 	
 	log configure
 	log configure
@@ -185,11 +189,9 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 	        --with-cairo \
 	        --with-cairo \
                 --with-postgres \
                 --with-postgres \
 	        --with-opengl=windows \
 	        --with-opengl=windows \
-                --with-bzlib
+                --with-bzlib $conf_opts
 # see #3047
 # see #3047
 #	        --with-mysql 
 #	        --with-mysql 
-# see https://trac.osgeo.org/osgeo4w/ticket/539#ticket
-# --with-liblas=$PWD/mswindows/osgeo4w/liblas-config
 	touch mswindows/osgeo4w/configure-stamp
 	touch mswindows/osgeo4w/configure-stamp
 fi
 fi