[postgis-tickets] r15867 - Add -lm to liblwgeom link line

Sandro Santilli strk at kbt.io
Sun Oct 1 23:20:26 PDT 2017


Author: strk
Date: 2017-10-01 23:20:26 -0700 (Sun, 01 Oct 2017)
New Revision: 15867

Modified:
   branches/2.3/NEWS
   branches/2.3/liblwgeom/Makefile.in
Log:
Add -lm to liblwgeom link line

References #3869 for 2.3 branch

Modified: branches/2.3/NEWS
===================================================================
--- branches/2.3/NEWS	2017-10-02 06:17:36 UTC (rev 15866)
+++ branches/2.3/NEWS	2017-10-02 06:20:26 UTC (rev 15867)
@@ -23,6 +23,7 @@
   - #3781, Not-quite curved CurvePolygon rejected by ST_Contains
   - #3818, Triangles unclosed in M should be parseable
   - #3866, Rare crash generating TWKB with large coordinate values
+  - #3869, Fix build with "gold" linker
 
 
 PostGIS 2.3.3

Modified: branches/2.3/liblwgeom/Makefile.in
===================================================================
--- branches/2.3/liblwgeom/Makefile.in	2017-10-02 06:17:36 UTC (rev 15866)
+++ branches/2.3/liblwgeom/Makefile.in	2017-10-02 06:20:26 UTC (rev 15867)
@@ -25,7 +25,7 @@
 CC = @CC@
 CPPFLAGS = @CPPFLAGS@
 CFLAGS = @CFLAGS@ @PICFLAGS@ @WARNFLAGS@ @GEOS_CPPFLAGS@ @PROJ_CPPFLAGS@ @JSON_CPPFLAGS@
-LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@
+LDFLAGS = @LDFLAGS@ @GEOS_LDFLAGS@ -lgeos_c @PROJ_LDFLAGS@ -lproj @JSON_LDFLAGS@ -lm
 NUMERICFLAGS = @NUMERICFLAGS@
 top_builddir = @top_builddir@
 prefix = @prefix@



More information about the postgis-tickets mailing list