On Tue, Mar 10, 2020 at 01:47:14PM +0100, Filip Janus wrote:
> Hello,
> After upgrade from 11.2 to 12.2 I found, that build of ecpg component depends
> on pgcommon_shlib and pgport_shlib.  But build of ecpg doesn't include build
> of pgcommon_shlib and pgport_shlib. That means, if I want to build ecpg, first
> I need to build  pgcommon_shlib and pgport_shlib and after that I am able to
> build ecpg.
> 
> I would like to ask if this behavior is expected or not ? Because previous
> version doesn't require this separate builds.

Ah, I see the problem, and this is a new bug in PG 12.  The attached
patch fixes PG 12 and master.
   
-- 
  Bruce Momjian  <br...@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +
diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile
new file mode 100644
index 530b580..6ce129b
*** a/src/interfaces/ecpg/pgtypeslib/Makefile
--- b/src/interfaces/ecpg/pgtypeslib/Makefile
*************** OBJS = \
*** 38,43 ****
--- 38,45 ----
  
  all: all-lib
  
+ all-lib: | submake-libpgport
+ 
  # Shared library stuff
  include $(top_srcdir)/src/Makefile.shlib
  

Reply via email to