Skip to content

Instantly share code, notes, and snippets.

@wpoely86
Created April 2, 2014 09:51
Show Gist options
  • Save wpoely86/9931174 to your computer and use it in GitHub Desktop.
Save wpoely86/9931174 to your computer and use it in GitHub Desktop.
Fix small bug in configure.ac of libspatialite. You need to run `autoreconf` after applying this patch.
diff -urN libspatialite-4.1.1.orig/configure.ac libspatialite-4.1.1/configure.ac
--- libspatialite-4.1.1.orig/configure.ac 2013-06-29 08:53:15.000000000 +0200
+++ libspatialite-4.1.1/configure.ac 2014-04-02 11:37:56.484423000 +0200
@@ -263,7 +263,7 @@
LIBS="$GEOS_LDFLAGS"
AC_SEARCH_LIBS(GEOSTopologyPreserveSimplify,geos_c,,AC_MSG_ERROR([could not find libgeos_c - you may need to specify the directory of a geos-config file using --with-geosconfig]))
LIBS="$LIBS_SAVE"
- LIBS=$LIBS$GEOS_LDFLAGS' -lgeos_c'
+ LIBS="$LIBS $GEOS_LDFLAGS -lgeos_c"
#-----------------------------------------------------------------------
# --enable-geosadvanced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment