Fix pg_config command path to avoid test failure.
authorBo Peng <pengbo@sraoss.co.jp>
Thu, 23 Sep 2021 12:54:00 +0000 (21:54 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Thu, 23 Sep 2021 12:54:00 +0000 (21:54 +0900)
src/test/regression/tests/010.rewrite_timestamp/timestamp/Makefile

index 6e29ea7846b0d8c6958a6e68dca827fc2dcf4919..1d785c80d2f9649b09c478117774e30605d46967 100644 (file)
@@ -1,6 +1,6 @@
 PROGRAM=timestamp-test
 topsrc_dir=../../../../..
-CPPFLAGS=-I$(topsrc_dir)/include -I$(shell pg_config --includedir)
+CPPFLAGS=-I$(topsrc_dir)/include -I$(shell $(PGBIN)/pg_config --includedir)
 CFLAGS=-Wall -O0 -g -std=gnu99
 CC=gcc