fix_makefile_bug.patch

text/x-patch

Filename: fix_makefile_bug.patch
Type: text/x-patch
Part: 0
Message: Re: Streaming replication and non-blocking I/O

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/backend/Makefile 2 0
src/backend/postmaster/walreceiverproc/Makefile 1 0
*** a/src/backend/Makefile
--- b/src/backend/Makefile
***************
*** 34,41 **** endif
  
  OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
  
! # We put libpgport into OBJS, so remove it from LIBS; also add libldap and libpq
! LIBS := $(filter-out -lpgport, $(LIBS)) $(LDAP_LIBS_BE) $(libpq)
  
  # The backend doesn't need everything that's in LIBS, however
  LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
--- 34,41 ----
  
  OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a
  
! # We put libpgport into OBJS, so remove it from LIBS; also add libldap
! LIBS := $(filter-out -lpgport, $(LIBS)) $(LDAP_LIBS_BE)
  
  # The backend doesn't need everything that's in LIBS, however
  LIBS := $(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses, $(LIBS))
*** a/src/backend/postmaster/walreceiverproc/Makefile
--- b/src/backend/postmaster/walreceiverproc/Makefile
***************
*** 18,24 **** OBJS = walreceiverproc.o
  SHLIB_LINK = $(libpq)
  NAME = walreceiverproc
  
! all: all-shared-lib
  
  include $(top_srcdir)/src/Makefile.shlib
  
--- 18,24 ----
  SHLIB_LINK = $(libpq)
  NAME = walreceiverproc
  
! all: submake-libpq all-shared-lib
  
  include $(top_srcdir)/src/Makefile.shlib