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

Commit d79ab78

Browse files
committed
Only pass the -L* portions of LDFLAGS to the Python build environment.
Other flags can have unpredictable effects when Python uses different commands to build than we do.
1 parent 080af3d commit d79ab78

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.4 2001/02/04 13:21:46 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.5 2001/02/07 18:22:10 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@%$(LDFLAGS) $(LIBS)%g' \
31+
-e 's%@EXTRA_LIBS@%$(filter -L%, $(LDFLAGS)) $(LIBS)%g' \
3232
-e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \
3333
$< > $@
3434

0 commit comments

Comments
 (0)