diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-24 16:45:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-24 16:45:23 +0000 |
commit | 1a022f71d86d935cd068a263f1884a24acdf0829 (patch) | |
tree | f32a9dcb2701ad16d57687bd3a51fde5d0d62670 | |
parent | a90e9d662e15b348aab68fd8d725a029e60ae2fa (diff) | |
download | postgresql-1a022f71d86d935cd068a263f1884a24acdf0829.tar.gz postgresql-1a022f71d86d935cd068a263f1884a24acdf0829.zip |
Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds.
Not sure why this hasn't been reported before; perhaps it is not needed
with newer gcc versions, but it definitely fails here.
-rw-r--r-- | src/bin/psql/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index f72de150856..efd9c4b4d38 100644 --- a/src/bin/psql/Makefile +++ b/src/bin/psql/Makefile @@ -5,7 +5,7 @@ # Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.53 2005/03/25 18:17:13 momjian Exp $ +# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.54 2005/05/24 16:45:23 tgl Exp $ # #------------------------------------------------------------------------- @@ -17,7 +17,7 @@ include $(top_builddir)/src/Makefile.global REFDOCDIR= $(top_srcdir)/doc/src/sgml/ref -override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS) +override CPPFLAGS := -DFRONTEND -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS) OBJS= command.o common.o help.o input.o stringutils.o mainloop.o copy.o \ startup.o prompt.o variables.o large_obj.o print.o describe.o \ |