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

Commit e41c7bb

Browse files
committed
VPATH fixes.
1 parent a0de6e7 commit e41c7bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/ecpg/test/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.69 2007/06/12 13:09:58 mha Exp $
1+
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.70 2007/06/12 15:00:41 alvherre Exp $
22

33
subdir = src/interfaces/ecpg/test
44
top_builddir = ../../../..
@@ -32,7 +32,7 @@ EXTRADEFS = '-DHOST_TUPLE="$(host_tuple)"' \
3232
'-DSHELLPROG="$(SHELL)"' \
3333
'-DDLSUFFIX="$(DLSUFFIX)"'
3434

35-
REGRESSINCLUDES = "-I$(top_builddir)/src/test/regress"
35+
REGRESSINCLUDES = "-I$(top_srcdir)/src/test/regress"
3636
REGRESSDRIVER = "$(top_builddir)/src/test/regress/pg_regress.o"
3737

3838
all install installdirs uninstall distprep:
@@ -61,7 +61,7 @@ clean distclean maintainer-clean:
6161
all: pg_regress$(X)
6262

6363
pg_regress$(X): pg_regress_ecpg.o
64-
$(CC) $(CFLAGS) $^ $(REGRESSDRIVER) $(LDFLAGS) $(LIBS) -o $@
64+
$(CC) $(CFLAGS) $^ $(REGRESSDRIVER) $(REGRESSINCLUDES) $(LDFLAGS) $(LIBS) -o $@
6565

6666
# dependencies ensure that path changes propagate
6767
pg_regress_ecpg.o: pg_regress_ecpg.c $(top_builddir)/src/port/pg_config_paths.h

0 commit comments

Comments
 (0)