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

Commit 3206e52

Browse files
committed
Pick up any extra -I options for Python build.
1 parent 1ed61b3 commit 3206e52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/interfaces/python/GNUmakefile

+2-2
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.5 2001/02/07 18:22:10 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.6 2001/03/25 19:44:03 petere Exp $
88
#
99
#-------------------------------------------------------------------
1010

@@ -29,7 +29,7 @@ Setup.in: Setup.in.raw
2929
sed -e 's,@libpq_srcdir@,$(libpq_srcdir),g' \
3030
-e 's,@libpq_builddir@,$(libpq_builddir),g' \
3131
-e 's%@EXTRA_LIBS@%$(filter -L%, $(LDFLAGS)) $(LIBS)%g' \
32-
-e 's,@pg_includedir@,$(top_srcdir)/src/include,g' \
32+
-e 's%@INCLUDES@%$(filter -I%, $(CPPFLAGS))%g' \
3333
$< > $@
3434

3535
install: all

src/interfaces/python/Setup.in.raw

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
*shared*
22

3-
_pg pgmodule.c -I@libpq_srcdir@ -I@pg_includedir@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@
3+
_pg pgmodule.c -I@libpq_srcdir@ @INCLUDES@ -L@libpq_builddir@ -lpq @EXTRA_LIBS@

0 commit comments

Comments
 (0)