소스 검색

wingrass: re-enable LAS support on 64bit
(merge https://trac.osgeo.org/grass/changeset/71392 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@71401 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 7 년 전
부모
커밋
9878736ac8
1개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 7 4
      mswindows/osgeo4w/package.sh

+ 7 - 4
mswindows/osgeo4w/package.sh

@@ -160,8 +160,12 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 
 	if [ "$MINGW_POSTFIX" = "64" ]; then
 	    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
 	    conf_host=i386-w64-mingw32
+            conf_opts=
 	fi
 	
 	log configure
@@ -189,10 +193,9 @@ if ! [ -f mswindows/osgeo4w/configure-stamp ]; then
 		--with-odbc \
 	        --with-cairo \
                 --with-postgres \
-	        --with-opengl=windows
-        
-# see https://trac.osgeo.org/osgeo4w/ticket/539#ticket
-# --with-liblas=$PWD/mswindows/osgeo4w/liblas-config
+	        --with-opengl=windows \
+                $conf_opts
+
 	touch mswindows/osgeo4w/configure-stamp
 fi