--- citus-11.1.1/src/backend/distributed/Makefile.orig 2022-09-16 11:33:09.000000000 +0000 +++ citus-11.1.1/src/backend/distributed/Makefile 2022-09-25 17:33:00.948236957 +0000 @@ -18,7 +18,7 @@ DATA_built = $(generated_sql_files) # directories with source files -SUBDIRS = . commands connection ddl deparser executor metadata operations planner progress relay safeclib shardsplit test transaction utils worker +SUBDIRS = commands connection ddl deparser executor metadata operations planner progress relay safeclib shardsplit test transaction utils worker # enterprise modules SUBDIRS += replication @@ -31,6 +31,8 @@ OBJS += \ $(patsubst $(citus_abs_srcdir)/%.c,%.o,$(foreach dir,$(SUBDIRS), $(sort $(wildcard $(citus_abs_srcdir)/$(dir)/*.c)))) +OBJS += shared_library_init.o + # be explicit about the default target all: