From 8791d12d9e8558c99dbb83900247e969a3d0aea1 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Sun, 4 Feb 2001 13:21:46 +0000
Subject: [PATCH] Pass LDFLAGS along with LIBS to the Python build stuff,
 especially to pick up -L options.

---
 src/interfaces/python/GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/python/GNUmakefile b/src/interfaces/python/GNUmakefile
index 5bdf2b20d95..38330d6e774 100644
--- a/src/interfaces/python/GNUmakefile
+++ b/src/interfaces/python/GNUmakefile
@@ -4,7 +4,7 @@
 #
 # Written by Peter Eisentraut  <peter_e@gmx.net>
 #
-# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.3 2000/12/30 00:24:09 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.4 2001/02/04 13:21:46 petere Exp $
 #
 #-------------------------------------------------------------------
 
@@ -28,7 +28,7 @@ Makefile.pre.in: $(python_extmakefile)
 Setup.in: Setup.in.raw
 	sed -e 's,@libpq_srcdir@,$(libpq_srcdir),g' \
 	    -e 's,@libpq_builddir@,$(libpq_builddir),g' \
-	    -e 's,@EXTRA_LIBS@,$(LIBS),g' \
+	    -e 's%@EXTRA_LIBS@%$(LDFLAGS) $(LIBS)%g' \
 	    -e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \
 	    $< > $@
 
-- 
GitLab