Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8791d12

Browse files
committed
Pass LDFLAGS along with LIBS to the Python build stuff, especially to pick
up -L options.
1 parent 7281398 commit 8791d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/python/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Written by Peter Eisentraut <peter_e@gmx.net>
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.3 2000/12/30 00:24:09 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.4 2001/02/04 13:21:46 petere Exp $
88
#
99
#-------------------------------------------------------------------
1010

@@ -28,7 +28,7 @@ Makefile.pre.in: $(python_extmakefile)
2828
Setup.in: Setup.in.raw
2929
sed -e 's,@libpq_srcdir@,$(libpq_srcdir),g' \
3030
-e 's,@libpq_builddir@,$(libpq_builddir),g' \
31-
-e 's,@EXTRA_LIBS@,$(LIBS),g' \
31+
-e 's%@EXTRA_LIBS@%$(LDFLAGS) $(LIBS)%g' \
3232
-e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \
3333
$< > $@
3434

0 commit comments

Comments
 (0)