diff options
| author | Long Huan <8551701+longhuan2018@users.noreply.github.com> | 2019-09-12 04:03:07 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-09-11 13:03:07 -0700 |
| commit | 942371f44f1772bcb5f9279728b07dc72a4d0ae0 (patch) | |
| tree | c58a32b0e739a9f9c1ae265b3915aa43918830f2 /ports/libspatialite/fix-configure-debug.patch | |
| parent | cdbaa03cdda27071675daa21f65a8ab0550fd280 (diff) | |
| download | vcpkg-942371f44f1772bcb5f9279728b07dc72a4d0ae0.tar.gz vcpkg-942371f44f1772bcb5f9279728b07dc72a4d0ae0.zip | |
[libspatialite]make libspatialite support linux and osx (#8025)
Diffstat (limited to 'ports/libspatialite/fix-configure-debug.patch')
| -rw-r--r-- | ports/libspatialite/fix-configure-debug.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/ports/libspatialite/fix-configure-debug.patch b/ports/libspatialite/fix-configure-debug.patch new file mode 100644 index 000000000..77a4c77a0 --- /dev/null +++ b/ports/libspatialite/fix-configure-debug.patch @@ -0,0 +1,58 @@ +diff --git a/configure b/configure +index aafdad55b..11dde35fa 100644 +--- a/configure ++++ b/configure +@@ -18089,7 +18089,7 @@ return GEOSCoveredBy (); + return 0; + } + _ACEOF +-for ac_lib in '' geos_c; do ++for ac_lib in '' geos_cd; do + if test -z "$ac_lib"; then + ac_res="none required" + else +@@ -18124,7 +18124,7 @@ else + fi + + LIBS="$LIBS_SAVE" +- LIBS="$LIBS $GEOS_LDFLAGS -lgeos_c" ++ LIBS="$LIBS $GEOS_LDFLAGS -lgeos_cd" + + #----------------------------------------------------------------------- + # --enable-controlpoints +@@ -18176,7 +18176,7 @@ return GEOSDelaunayTriangulation (); + return 0; + } + _ACEOF +-for ac_lib in '' geos_c; do ++for ac_lib in '' geos_cd; do + if test -z "$ac_lib"; then + ac_res="none required" + else +@@ -18240,7 +18240,7 @@ fi + done + + _save_libs="$LIBS" +- LIBS=$LIBS' -llwgeom -lgeos_c' ++ LIBS=$LIBS' -llwgeom -lgeos_cd' + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + int main() { return lwgeom_make_valid(); return 0; } +@@ -18255,7 +18255,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$_save_libs" +- LIBS=$LIBS' -llwgeom -lgeos_c' ++ LIBS=$LIBS' -llwgeom -lgeos_cd' + # + # testing for PostGIS 2.1 - lwgeom_set_handlers + # +@@ -18283,7 +18283,7 @@ return lwgeom_set_handlers (); + return 0; + } + _ACEOF +-for ac_lib in '' geos_c; do ++for ac_lib in '' geos_cd; do + if test -z "$ac_lib"; then + ac_res="none required" + else |
