Accepting request 309132 from home:Guillaume_G:branches:Application:Geo

Fix build with ECW option

OBS-URL: https://build.opensuse.org/request/show/309132
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gdal?expand=0&rev=12
This commit is contained in:
Martin Pluskal 2015-05-29 08:57:27 +00:00 committed by Git OBS Bridge
parent 0edad1590f
commit f46cd8bfd2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 29 08:37:19 UTC 2015 - guillaume@opensuse.org
- Fix ECW detection in configure script (need to add -pthread to CFLAGS)
-------------------------------------------------------------------
Sat May 2 18:47:37 UTC 2015 - ecsos@opensuse.org

View File

@ -185,6 +185,7 @@ autoreconf -fi
--with-xerces-inc=%{_includedir}/xercesc \
%if %{with ecw_support}
--with-ecw \
CFLAGS="$CFLAGS -pthread" \
%endif
%if 0%{?suse_version} > 1310
--without-hdf4 \