You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
705 B

Index: loader/Makefile.in
--- loader/Makefile.in.orig 2016-06-04 20:10:50.000000000 +0200
+++ loader/Makefile.in 2017-09-02 23:56:50.944607000 +0200
@@ -38,7 +38,7 @@
PGSQL_FE_LDFLAGS=@PGSQL_FE_LDFLAGS@
# iconv flags
-ICONV_LDFLAGS=@ICONV_LDFLAGS@
+ICONV_LDFLAGS=@ICONV_LDFLAGS@ -lstdc++
ICONV_CFLAGS=@ICONV_CFLAGS@
# liblwgeom
Index: configure.ac
--- configure.ac.orig 2017-10-31 16:15:03.000000000 +0100
+++ configure.ac 2017-11-16 09:32:53.161411000 +0100
@@ -677,7 +677,7 @@
fi
dnl Extract the linker and include flags
-GEOS_LDFLAGS=`$GEOSCONFIG --ldflags`
+GEOS_LDFLAGS=`$GEOSCONFIG --cclibs`
GEOS_CPPFLAGS=-I`$GEOSCONFIG --includes`
AC_SUBST([GEOS_LDFLAGS])
AC_SUBST([GEOS_CPPFLAGS])