From f46cd8bfd249080cbc3c989314a8f4731e96ccf5e97f667f19b2d6a02596ebd6 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 29 May 2015 08:57:27 +0000 Subject: [PATCH] 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 --- gdal.changes | 5 +++++ gdal.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 \