pgpool2.git / summary / log / commit / refs

commit    76a06e5afdc8d270f2dcb2159e02ab40481b9d26
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Tue Nov 04 00:51:02 2025 +0000

    Fix pgpool_adm Makefile.
    
    The Makefile set SHLIB_LINK. However nowadays PostgreSQL provides most
    of the SHLIB_LINK options in Makefile.global except
    -L../../libs/pcp/.libs -lpcp. Moreover '${prefix}/lib', which is
    currently in the option, is harmful because while building rpm
    packages, check_rpaths complains that /libs is in rpath.  So remove
    all the options except -L../../libs/pcp/.libs -lpcp.
    
    Backpatch-through: v4.2


src/sql/pgpool_adm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/pgpool_adm/Makefile b/src/sql/pgpool_adm/Makefile index 6dde6ccf6..ce996da8d 100644 --- a/src/sql/pgpool_adm/Makefile +++ b/src/sql/pgpool_adm/Makefile @@ -10,7 +10,7 @@ pgpool_adm--1.0--1.1.sql pgpool_adm--1.1--1.2.sql pgpool_adm--1.2--1.3.sql \ pgpool_adm--1.4.sql pgpool_adm--1.3--1.4.sql \ pgpool_adm--1.5.sql pgpool_adm--1.4--1.5.sql \ pgpool_adm--1.6.sql pgpool_adm--1.5--1.6.sql -SHLIB_LINK = -L../../libs/pcp/.libs -lpcp -Wl,--as-needed -Wl,-rpath,'${prefix}/lib',--enable-new-dtags +SHLIB_LINK = -L../../libs/pcp/.libs -lpcp # if you are using PostgreSQL 8.0 or later, # using pg_config is recommended. # if you are not, comment out following line and... [parent: f4cfd6188eff]