feat: hecitc C: add hectic-config

This commit is contained in:
2025-04-19 22:05:56 +00:00
parent 2229cf072b
commit 0c58befc43
4 changed files with 56 additions and 9 deletions

View File

@@ -7,7 +7,11 @@ PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
# Add hectic library path
CFLAGS += -I -lhectic
HECTIC_CONFIG = hectic-config
CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
LDFLAGS += $(shell $(HECTIC_CONFIG) --libs)
SHLIB_LINK := $(LIBS)
include $(PGXS)