lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 47 lines 1.1 kB view raw
1diff --git a/Makefile b/Makefile 2index 38879cc..6e78eeb 100644 3--- a/Makefile 4+++ b/Makefile 5@@ -20,6 +20,7 @@ OBJS = $(SRCS:.cc=.o) 6 MODULE_big = plv8-$(PLV8_VERSION) 7 EXTENSION = plv8 8 PLV8_DATA = plv8.control plv8--$(PLV8_VERSION).sql 9+USE_SYSTEM_V8 = 0 10 11 12 # Platform detection 13@@ -41,6 +42,7 @@ PGXS := $(shell $(PG_CONFIG) --pgxs) 14 PG_VERSION_NUM := $(shell cat `$(PG_CONFIG) --includedir-server`/pg_config*.h \ 15 | perl -ne 'print $$1 and exit if /PG_VERSION_NUM\s+(\d+)/') 16 17+ifeq ($(USE_SYSTEM_V8),0) 18 AUTOV8_DIR = build/v8 19 AUTOV8_OUT = build/v8/out.gn/obj 20 AUTOV8_STATIC_LIBS = -lv8_libplatform -lv8_libbase 21@@ -66,6 +68,7 @@ v8: 22 make -f Makefiles/Makefile.macos v8 23 endif 24 endif 25+endif 26 27 # enable direct jsonb conversion by default 28 CCFLAGS += -DJSONB_DIRECT_CONVERSION 29@@ -83,6 +86,7 @@ ifdef BIGINT_GRACEFUL 30 endif 31 32 33+ifeq ($(USE_SYSTEM_V8),0) 34 # We're gonna build static link. Rip it out after include Makefile 35 SHLIB_LINK := $(filter-out -lv8, $(SHLIB_LINK)) 36 37@@ -101,6 +105,7 @@ else 38 SHLIB_LINK += -lrt -std=c++14 39 endif 40 endif 41+endif 42 43 DATA = $(PLV8_DATA) 44 ifndef DISABLE_DIALECT 45-- 462.37.3 47