[geos-devel] mingw64 file libs changed

Roger Bivand Roger.Bivand at nhh.no
Tue Jun 14 03:59:10 PDT 2022


In R >= 4.2, Windows static linked binary packages linking to GEOS use 
MXE, locally updating the MXE use of GEOS 3.6.2 to 3.9.1:

https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/geos.mk

We currently hot-patch geos-config to modify it for static libs:

https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/geos-1-fixes.patch

We could hot-patch files in a GEOS >= 3.11.0 tarball to remove 
instructions creating versioned libraries, but have not yet tested RC1. R 
packages also need to list static linked libraries by name, and revising 
each of a dozen or so at each GEOS release would be error prone.

Is a cmake option a way to satisfy both those needing versioned, or 
unversioned library names?

Does anyone else use MXE; if so, might it make sense to feed changes in 
GEOS forward to MXE?

Best wishes,

Roger

-- 
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand at nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en


More information about the geos-devel mailing list