diff --git a/gdal.changes b/gdal.changes index ddd97af..364cb0b 100644 --- a/gdal.changes +++ b/gdal.changes @@ -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 diff --git a/gdal.spec b/gdal.spec index 4205107..8304b74 100644 --- a/gdal.spec +++ b/gdal.spec @@ -184,7 +184,8 @@ autoreconf -fi --with-xerces-lib="-lxerces-c" \ --with-xerces-inc=%{_includedir}/xercesc \ %if %{with ecw_support} - --with-ecw \ + --with-ecw \ + CFLAGS="$CFLAGS -pthread" \ %endif %if 0%{?suse_version} > 1310 --without-hdf4 \