MINGW-packages/mingw-w64-postgis/0001-clang-postgresql.patch
Markus Mützel b9e0f7933e postgis: update to 3.2.1
Fix compilation with GCC 12.
Workaround issue when trying to link C++ archives with `clang` in PostgreSQL's `Makefile.shlib`.
2022-06-14 22:38:52 +02:00

12 lines
511 B
Diff

diff -urN postgis-3.2.1/postgis/Makefile.in.orig postgis-3.2.1/postgis/Makefile.in
--- postgis-3.2.1/postgis/Makefile.in.orig 2022-02-13 01:55:42.000000000 +0100
+++ postgis-3.2.1/postgis/Makefile.in 2022-06-14 21:57:44.114299000 +0200
@@ -178,6 +178,7 @@
# may be confusing and out-of-control for the builder of
# PostGIS
LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
# If REGRESS=1 passed as a parameter, change the default install paths
# so that no prefix is included. This allows us to relocate to a temporary