#
# 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 $
#
#-------------------------------------------------------------------
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' \
$< > $@