diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-02-07 18:22:10 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-02-07 18:22:10 +0000 |
commit | d79ab787b8ef102e712f46a0c91457081bce964b (patch) | |
tree | ddf0e84634d8bb77eab400e2ee822f2eb9c8446d /src/interfaces/python | |
parent | 080af3db8077d0c4eac599b6f88943cd7117b0f9 (diff) | |
download | postgresql-d79ab787b8ef102e712f46a0c91457081bce964b.tar.gz postgresql-d79ab787b8ef102e712f46a0c91457081bce964b.zip |
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.
Diffstat (limited to 'src/interfaces/python')
-rw-r--r-- | src/interfaces/python/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/python/GNUmakefile b/src/interfaces/python/GNUmakefile index 38330d6e774..9bf4f01d2af 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.4 2001/02/04 13:21:46 petere Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.5 2001/02/07 18:22:10 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@%$(LDFLAGS) $(LIBS)%g' \ + -e 's%@EXTRA_LIBS@%$(filter -L%, $(LDFLAGS)) $(LIBS)%g' \ -e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \ $< > $@ |