File: includedir-server

package info (click to toggle)
libpg-query 17-6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,420 kB
  • sloc: ansic: 171,152; sql: 78,873; ruby: 1,547; makefile: 266; cpp: 221
file content (13 lines) | stat: -rw-r--r-- 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Include server include files for missing atomics-{ia64,hppa}.h

--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,8 @@ SRC_FILES := $(wildcard src/*.c src/post
 OBJ_FILES := $(SRC_FILES:.c=.o)
 
 override CFLAGS += -g -I. -I./vendor -I./src/include -I./src/postgres/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-variable -fno-strict-aliasing -fwrapv -fPIC
+PG_CONFIG = pg_config
+override CFLAGS += -I$(shell $(PG_CONFIG) --includedir-server)
 
 ifeq ($(OS),Windows_NT)
 override CFLAGS += -I./src/postgres/include/port/win32