File: includedir-server

package info (click to toggle)
libpg-query 15-4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,320 kB
  • sloc: ansic: 163,581; sql: 69,531; ruby: 1,363; makefile: 247; cpp: 220
file content (13 lines) | stat: -rw-r--r-- 544 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
@@ -24,6 +24,8 @@ NOT_OBJ_FILES := src/pg_query_enum_defs.
 OBJ_FILES := $(filter-out $(NOT_OBJ_FILES), $(SRC_FILES:.c=.o))
 
 override CFLAGS += -g -I. -I./vendor -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)
 
 override PG_CONFIGURE_FLAGS += -q --without-readline --without-zlib