Skip to content

Commit 46ed93b

Browse files
author
Craig Ringer
committed
WIP on blog for libpq pipeline with code and graph
1 parent 841eb40 commit 46ed93b

File tree

4 files changed

+1119
-0
lines changed

4 files changed

+1119
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
PG_CONFIG?=pg_config
2+
ifeq ($(shell $(PG_CONFIG) --version),)
3+
$(error could not find pg_config as $(PG_CONFIG), try explicit PG_CONFIG var)
4+
endif
5+
6+
CPATH+=:$(shell $(PG_CONFIG) --includedir):$(shell $(PG_CONFIG) --includedir-server)
7+
CFLAGS+=$(shell $(PG_CONFIG) --cflags)
8+
CPPFLAGS+=$(shell $(PG_CONFIG) --cppflags)
9+
10+
export CPATH CFLAGS CPPFLAGS
11+
12+
async_sample: async_sample.c

0 commit comments

Comments
 (0)