$NetBSD: patch-ae,v 1.9 2021/10/21 00:25:16 gdt Exp $

TODO: explain what's in LDFLAGS.
TODO: explain why --libs has -L in the first place (vs --ldflags).
TODO: report upstream.

--- tools/geos-config.in.orig	2021-09-30 20:14:04.000000000 +0000
+++ tools/geos-config.in
@@ -62,7 +62,7 @@ while test $# -gt 0; do
       echo -I${includedir}
       ;;
     --ldflags)
-      echo -L${libdir}
+      echo -L${libdir} @LDFLAGS@
       ;;
     --includes)
       echo ${includedir}
