]> granicus.if.org Git - postgresql/commitdiff
Make pqsignal() available to pg_regress of ECPG and isolation suites.
authorNoah Misch <noah@leadboat.com>
Sat, 14 Jun 2014 14:52:25 +0000 (10:52 -0400)
committerNoah Misch <noah@leadboat.com>
Sat, 14 Jun 2014 14:57:36 +0000 (10:57 -0400)
Commit 453a5d91d49e4d35054f92785d830df4067e10c1 made it available to the
src/test/regress build of pg_regress, but all pg_regress builds need the
same treatment.  Patch 9.2 through 8.4; in 9.3 and later, pg_regress
gets pqsignal() via libpgport.

src/interfaces/ecpg/test/Makefile

index cf6ccb81ddf83d0fd8b3edbf085761d9061621d1..00c3cfb6d304fc1e98c0962351e2cefa3d757f7e 100644 (file)
@@ -53,10 +53,10 @@ clean distclean maintainer-clean:
 
 all: pg_regress$(X)
 
-pg_regress$(X): pg_regress_ecpg.o $(top_builddir)/src/test/regress/pg_regress.o
+pg_regress$(X): pg_regress_ecpg.o $(top_builddir)/src/test/regress/pg_regress.o $(top_builddir)/src/test/regress/pqsignal.o
        $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(LIBS) -o $@
 
-$(top_builddir)/src/test/regress/pg_regress.o:
+$(top_builddir)/src/test/regress/pg_regress.o $(top_builddir)/src/test/regress/pqsignal.o:
        $(MAKE) -C $(dir $@) $(notdir $@)
 
 # dependencies ensure that path changes propagate