0001-Disable-forced-static-linking-of-liblwgeom.patch 948 B

12345678910111213141516171819202122232425262728293031
  1. From 845c18c1288b7a96592901baadb198f96dd71c46 Mon Sep 17 00:00:00 2001
  2. From: fidomax <adobegitler@gmail.com>
  3. Date: Tue, 26 Jan 2021 09:49:19 +0300
  4. Subject: [PATCH] Disable forced static linking of liblwgeom
  5. In case of shared libs build fails:
  6. ld: cannot find -lgeos_c
  7. ld: attempted static link of dynamic object `/usr/lib/libproj.so'
  8. Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
  9. Fetch from: https://github.com/postgis/postgis/commit/98070faad220e12fcaed9a583a70a37c510b7c6b.patch
  10. ---
  11. loader/Makefile.in | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/loader/Makefile.in b/loader/Makefile.in
  14. index 9aebfe07f..9a0c90d3a 100644
  15. --- a/loader/Makefile.in
  16. +++ b/loader/Makefile.in
  17. @@ -44,7 +44,7 @@ ICONV_CFLAGS=@ICONV_CFLAGS@
  18. # liblwgeom
  19. LIBLWGEOM=../liblwgeom/liblwgeom.la
  20. -LDFLAGS += -static $(LIBLWGEOM)
  21. +LDFLAGS += $(LIBLWGEOM)
  22. # GTK includes and libraries
  23. GTK_CFLAGS = @GTK_CFLAGS@ @IGE_MAC_CFLAGS@
  24. --
  25. 2.30.0