aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-03-25 19:44:04 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-03-25 19:44:04 +0000
commit3206e5225f1a0f415a7465ce7d42a0ff36f55e70 (patch)
treeaabacdac92ec98f83a6d6e20c66b59defe1669d0 /src/interfaces/python
parent1ed61b3a9c4b87e9cf7d50eeeb1d1de92d718c93 (diff)
downloadpostgresql-3206e5225f1a0f415a7465ce7d42a0ff36f55e70.tar.gz
postgresql-3206e5225f1a0f415a7465ce7d42a0ff36f55e70.zip
Pick up any extra -I options for Python build.
Diffstat (limited to 'src/interfaces/python')
-rw-r--r--src/interfaces/python/GNUmakefile4
-rw-r--r--src/interfaces/python/Setup.in.raw2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/python/GNUmakefile b/src/interfaces/python/GNUmakefile
index 9bf4f01d2af..7e1a1d0bd62 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.5 2001/02/07 18:22:10 petere Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.6 2001/03/25 19:44:03 petere Exp $
#
#-------------------------------------------------------------------
@@ -29,7 +29,7 @@ Setup.in: Setup.in.raw
sed -e 's,@libpq_srcdir@,$(libpq_srcdir),g' \
-e 's,@libpq_builddir@,$(libpq_builddir),g' \
-e 's%@EXTRA_LIBS@%$(filter -L%, $(LDFLAGS)) $(LIBS)%g' \
- -e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \
+ -e 's%@INCLUDES@%$(filter -I%, $(CPPFLAGS))%g' \
$< > $@
install: all
diff --git a/src/interfaces/python/Setup.in.raw b/src/interfaces/python/Setup.in.raw
index 9c26d73968c..e52c2a4a280 100644
--- a/src/interfaces/python/Setup.in.raw
+++ b/src/interfaces/python/Setup.in.raw
@@ -1,3 +1,3 @@
*shared*
-_pg pgmodule.c -I@libpq_srcdir@ -I@pg_includedir@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@
+_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@