Content-Length: 257407 | pFad | https://github.com/postgrespro/postgres/commit/44c5d387eafb4ba1a032f8d7b13d85c553d69181

23 ecpg/ecpglib must build the src/port files it uses with -DFRONTEND. · postgrespro/postgres@44c5d38 · GitHub
Skip to content

Commit 44c5d38

Browse files
committed
ecpg/ecpglib must build the src/port files it uses with -DFRONTEND.
Remarkably, this hasn't been noticed before, though it surely should have been happening since around the fall of the Byzantine empire. Commit 438b529 changed path.c to depend on FRONTEND, and that exposed the omission, per buildfarm reports. I'm suspicious that some other subdirectories are missing this too, but this one change is enough to make ecpg tests pass for me.
1 parent abe075d commit 44c5d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 6
1818
SO_MINOR_VERSION= 6
1919

2020
override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
21-
-I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS)
21+
-I$(libpq_srcdir) -I$(top_builddir)/src/port -DFRONTEND $(CPPFLAGS)
2222
override CFLAGS += $(PTHREAD_CFLAGS)
2323

2424
# Need to recompile any libpgport object files

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/44c5d387eafb4ba1a032f8d7b13d85c553d69181

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy